cave.cpp: In function 'void exploreCave(int)':
cave.cpp:16:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<x.size()/2;i++)s[x[i]]^=1;
~^~~~~~~~~~~
cave.cpp:21:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p==q)for(int i=x.size()/2;i<x.size();i++)y.PB(x[i]);
~^~~~~~~~~
cave.cpp:22:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else for(int i=0;i<x.size()/2;i++)y.PB(x[i]);
~^~~~~~~~~~~
cave.cpp:24:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<y.size();i++)x.PB(y[i]);
~^~~~~~~~~