crazy.cpp:21:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
21 | main(){
| ^
crazy.cpp: In function 'int main()':
crazy.cpp:25:17: warning: unused variable 'j' [-Wunused-variable]
25 | int n,i,j,s=0;
| ^
crazy.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);
| ~~~~~^~~~~~~~~~~
crazy.cpp:23:5: note: in expansion of macro 'scan1'
23 | scan1(t)
| ^~~~~
crazy.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);
| ~~~~~^~~~~~~~~~~
crazy.cpp:26:9: note: in expansion of macro 'scan1'
26 | scan1(n)
| ^~~~~
crazy.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);
| ~~~~~^~~~~~~~~~~
crazy.cpp:31:13: note: in expansion of macro 'scan1'
31 | scan1(x)
| ^~~~~