crazy.cpp:35:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
35 | main(){
| ^
crazy.cpp: In function 'int main()':
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("%d",&a);
| ~~~~~^~~~~~~~~
crazy.cpp:37:5: note: in expansion of macro 'scan1'
37 | 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("%d",&a);
| ~~~~~^~~~~~~~~
crazy.cpp:40:9: note: in expansion of macro 'scan1'
40 | 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("%d",&a);
| ~~~~~^~~~~~~~~
crazy.cpp:42:13: note: in expansion of macro 'scan1'
42 | scan1(q[i])
| ^~~~~