00001 #ifndef min 00002 #define min(a,b) (a<b ? a : b) 00003 #endif 00004 00005 #ifndef max 00006 #define max(a,b) (a>b ? a : b) 00007 #endif 00008