specialg.cpp:38:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
38 | main(){
| ^
specialg.cpp: In function 'int main()':
specialg.cpp:39:13: warning: unused variable 'j' [-Wunused-variable]
39 | int n,i,j,m;
| ^
specialg.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
specialg.cpp:40:5: note: in expansion of macro 'scan1'
40 | scan1(n)
| ^~~~~
specialg.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
specialg.cpp:43:9: note: in expansion of macro 'scan1'
43 | scan1(x)
| ^~~~~
specialg.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
specialg.cpp:46:5: note: in expansion of macro 'scan1'
46 | scan1(m)
| ^~~~~
specialg.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
specialg.cpp:49:9: note: in expansion of macro 'scan1'
49 | scan1(t)
| ^~~~~
specialg.cpp:11:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
11 | #define scan1(a) scanf("%lld",&a);
| ~~~~~^~~~~~~~~~~
specialg.cpp:52:13: note: in expansion of macro 'scan1'
52 | scan1(x)
| ^~~~~
specialg.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);
| ~~~~~^~~~~~~~~~~~~~~~~~~~
specialg.cpp:57:13: note: in expansion of macro 'scan2'
57 | scan2(x,y)
| ^~~~~