rect.cpp: In function 'int check(int, int, int, int)':
rect.cpp:86:36: warning: left operand of comma operator has no effect [-Wunused-value]
debug("achou x:%d~%d y: %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp:86:39: warning: right operand of comma operator has no effect [-Wunused-value]
debug("achou x:%d~%d y: %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp:86:42: warning: right operand of comma operator has no effect [-Wunused-value]
debug("achou x:%d~%d y: %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp:86:45: warning: right operand of comma operator has no effect [-Wunused-value]
debug("achou x:%d~%d y: %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp: In function 'long long int go4(int, int, int, int, int)':
rect.cpp:94:16: warning: statement has no effect [-Wunused-value]
debug("oi4\n");
^
rect.cpp:106:20: warning: statement has no effect [-Wunused-value]
debug("tchau 4\n");
^
rect.cpp: In function 'long long int go3(int, int, int, int, int)':
rect.cpp:118:48: warning: left operand of comma operator has no effect [-Wunused-value]
debug("oi x: %d~%d y: %d~%d quebra A ? B ?\n",xi,xf,yi,yf);
^~
rect.cpp:118:51: warning: right operand of comma operator has no effect [-Wunused-value]
debug("oi x: %d~%d y: %d~%d quebra A ? B ?\n",xi,xf,yi,yf);
^~
rect.cpp:118:54: warning: right operand of comma operator has no effect [-Wunused-value]
debug("oi x: %d~%d y: %d~%d quebra A ? B ?\n",xi,xf,yi,yf);
^~
rect.cpp:118:57: warning: right operand of comma operator has no effect [-Wunused-value]
debug("oi x: %d~%d y: %d~%d quebra A ? B ?\n",xi,xf,yi,yf);
^~
rect.cpp:124:18: warning: left operand of comma operator has no effect [-Wunused-value]
debug("A %d\n",A);
^
rect.cpp:143:51: warning: left operand of comma operator has no effect [-Wunused-value]
debug("go3 x: %d~%d y: %d~%d quebra A %d B %d\n",xi,xf,yi,yf,A,B);
^~
rect.cpp:143:54: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go3 x: %d~%d y: %d~%d quebra A %d B %d\n",xi,xf,yi,yf,A,B);
^~
rect.cpp:143:57: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go3 x: %d~%d y: %d~%d quebra A %d B %d\n",xi,xf,yi,yf,A,B);
^~
rect.cpp:143:60: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go3 x: %d~%d y: %d~%d quebra A %d B %d\n",xi,xf,yi,yf,A,B);
^~
rect.cpp:143:63: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go3 x: %d~%d y: %d~%d quebra A %d B %d\n",xi,xf,yi,yf,A,B);
^
rect.cpp:143:65: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go3 x: %d~%d y: %d~%d quebra A %d B %d\n",xi,xf,yi,yf,A,B);
^
rect.cpp: In function 'long long int go2(int, int, int, int, int)':
rect.cpp:154:32: warning: left operand of comma operator has no effect [-Wunused-value]
debug("go2 x %d~%d y %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp:154:35: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go2 x %d~%d y %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp:154:38: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go2 x %d~%d y %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp:154:41: warning: right operand of comma operator has no effect [-Wunused-value]
debug("go2 x %d~%d y %d~%d\n",xi,xf,yi,yf);
^~
rect.cpp:156:6: warning: unused variable 'mx' [-Wunused-variable]
int mx = -1, id = -1;
^~
rect.cpp: In function 'long long int go(int, int)':
rect.cpp:179:15: warning: statement has no effect [-Wunused-value]
debug("oi\n");
^
rect.cpp: At global scope:
rect.cpp:221:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main(){
^
rect.cpp: In function 'int main()':
rect.cpp:226:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
rect.cpp:233:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&u);
~~~~~^~~~~~~~~
/tmp/ccAvUC9N.o: In function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccJeOBgd.o:rect.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status