ants.cpp:26:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
26 | main(){
| ^
ants.cpp: In function 'int main()':
ants.cpp:27:19: warning: unused variable 'j' [-Wunused-variable]
27 | int n,m,k,t,i,j;
| ^
ants.cpp:12:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | #define scan2(a,b) scanf("%lld %lld",&a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
ants.cpp:28:5: note: in expansion of macro 'scan2'
28 | scan2(n,m)
| ^~~~~
ants.cpp:12:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
12 | #define scan2(a,b) scanf("%lld %lld",&a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
ants.cpp:29:5: note: in expansion of macro 'scan2'
29 | scan2(k,t)
| ^~~~~
ants.cpp:13:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
13 | #define scan3(a,b,c) scanf("%lld %lld %lld",&a,&b,&c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
ants.cpp:32:9: note: in expansion of macro 'scan3'
32 | scan3(x,y,a)
| ^~~~~