/in/foo.cc:32:0: warning: ignoring #pragma comment [-Wunknown-pragmas]
#pragma comment(linker, "/STACK:1024000000,1024000000")
/in/foo.cc: In constructor 'Node::Node(int, int, int, int)':
/in/foo.cc:35:15: warning: 'Node::y1' will be initialized after [-Wreorder]
int x1,x2,y1,y2;
^~
/in/foo.cc:35:12: warning: 'int Node::x2' [-Wreorder]
int x1,x2,y1,y2;
^~
/in/foo.cc:37:5: warning: when initialized here [-Wreorder]
Node(int _x1,int _y1,int _x2,int _y2):x1(_x1),y1(_y1),x2(_x2),y2(_y2){}
^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:60:31: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5]' [-Wformat=]
scanf("%s%d",&str,&val);
^
/in/foo.cc:89:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v.first>=0&&v.first<x.size()&&v.second>=0&&v.second<y.size()&&vis[v.first][v.second]==0){
~~~~~~~^~~~~~~~~
/in/foo.cc:89:67: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(v.first>=0&&v.first<x.size()&&v.second>=0&&v.second<y.size()&&vis[v.first][v.second]==0){
~~~~~~~~^~~~~~~~~
/in/foo.cc:96:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<x.size()-1;i++)
~^~~~~~~~~~~
/in/foo.cc:97:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<y.size()-1;j++)
~^~~~~~~~~~~
/in/foo.cc:100:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%I64d\n",ans);
^