highway.cpp: In function 'void bfs(int, int*, int*)':
highway.cpp:6:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:26:3: note: in expansion of macro 'REP'
REP(i,0,G[u].size()){
^~~
highway.cpp: In function 'int find(VI&, int*)':
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:6:46: note: in definition of macro 'REP'
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:40:11: note: in expansion of macro 'mid'
REP(i,1,mid)w[par[vt[i]]]=0;
^~~
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:6:40: note: in definition of macro 'REP'
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:41:9: note: in expansion of macro 'mid'
REP(i,mid,vt.size())w[par[vt[i]]]=1;
^~~
highway.cpp:6:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:41:3: note: in expansion of macro 'REP'
REP(i,mid,vt.size())w[par[vt[i]]]=1;
^~~
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:42:17: note: in expansion of macro 'mid'
if(ask(w)>o)l=mid;
^~~
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:43:10: note: in expansion of macro 'mid'
else r=mid;
^~~
highway.cpp: In function 'void find_pair(int, VI, VI, int, int)':
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:6:46: note: in definition of macro 'REP'
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:55:11: note: in expansion of macro 'mid'
REP(i,0,mid)w[i]=1;
^~~
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:6:40: note: in definition of macro 'REP'
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:56:9: note: in expansion of macro 'mid'
REP(i,mid,n)w[i]=0;
^~~
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:57:17: note: in expansion of macro 'mid'
if(ask(w)>o)r=mid;
^~~
highway.cpp:11:15: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
#define mid (l+r>>1)
~^~
highway.cpp:58:10: note: in expansion of macro 'mid'
else l=mid;
^~~
highway.cpp:6:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:76:2: note: in expansion of macro 'REP'
REP(i,0,v1.size())w[p1[v1[i]]]=0;
^~~
highway.cpp:6:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:77:2: note: in expansion of macro 'REP'
REP(i,0,v2.size())w[p2[v2[i]]]=0;
^~~
highway.cpp:6:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:81:2: note: in expansion of macro 'REP'
REP(i,0,v1.size())w[p1[v1[i]]]=0;
^~~
highway.cpp:6:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define REP(i,j,k) for(register int i=(j);i<(k);++i)
^
highway.cpp:82:2: note: in expansion of macro 'REP'
REP(i,0,v2.size())w[p2[v2[i]]]=0;
^~~