#include #define foreach(i, v) for(__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++ i) #define BETWEEN(a, x, b) (a<=x&&x>s; for(int i=0;i