ufo.cpp:26:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
26 | main(){
| ^
ufo.cpp: In function 'int main()':
ufo.cpp:16:28: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ^~~~~~~~~~ ~~~~~~~~~~
| |
| long long int*
17 | #define all(s) s.begin(),s.end()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 | #define allr(s) s.rbegin(),s.rend()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 | #define pb push_back
| ~~~~~~~~~~~~~~~~~~~~
20 | #define sz(v) (int)v.size()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 | #define endi puts("");
| ~~~~~~~~~~~~~~~~~~~~~~
22 | #define eps 1e-12
| ~~~~~~~~~~~~~~~~~
23 | const int N = 1e6+12,INF=1e9+7;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 |
|
25 |
|
26 | main(){
| ~~~~~~~
27 | int n,m,i,j,r,t,p,mx=0;
| ~~~~~~~~~~~~~~~~~~~~~~~
28 | vector <vector <int> > q,dp;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | scan3(n,m,r)
| ~~~~~~~
ufo.cpp:29:5: note: in expansion of macro 'scan3'
29 | scan3(n,m,r)
| ^~~~~
ufo.cpp:16:30: note: format string is defined here
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ~^
| |
| int*
| %lld
ufo.cpp:16:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ^~~~~~~~~~ ~~~~~~~
| |
| long long int*
17 | #define all(s) s.begin(),s.end()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 | #define allr(s) s.rbegin(),s.rend()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 | #define pb push_back
| ~~~~~~~~~~~~~~~~~~~~
20 | #define sz(v) (int)v.size()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 | #define endi puts("");
| ~~~~~~~~~~~~~~~~~~~~~~
22 | #define eps 1e-12
| ~~~~~~~~~~~~~~~~~
23 | const int N = 1e6+12,INF=1e9+7;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 |
|
25 |
|
26 | main(){
| ~~~~~~~
27 | int n,m,i,j,r,t,p,mx=0;
| ~~~~~~~~~~~~~~~~~~~~~~~
28 | vector <vector <int> > q,dp;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | scan3(n,m,r)
| ~~~~~~~~~
ufo.cpp:29:5: note: in expansion of macro 'scan3'
29 | scan3(n,m,r)
| ^~~~~
ufo.cpp:16:33: note: format string is defined here
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ~^
| |
| int*
| %lld
ufo.cpp:16:28: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ^~~~~~~~~~ ~~~~
| |
| long long int*
17 | #define all(s) s.begin(),s.end()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 | #define allr(s) s.rbegin(),s.rend()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 | #define pb push_back
| ~~~~~~~~~~~~~~~~~~~~
20 | #define sz(v) (int)v.size()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 | #define endi puts("");
| ~~~~~~~~~~~~~~~~~~~~~~
22 | #define eps 1e-12
| ~~~~~~~~~~~~~~~~~
23 | const int N = 1e6+12,INF=1e9+7;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 |
|
25 |
|
26 | main(){
| ~~~~~~~
27 | int n,m,i,j,r,t,p,mx=0;
| ~~~~~~~~~~~~~~~~~~~~~~~
28 | vector <vector <int> > q,dp;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | scan3(n,m,r)
| ~~~~~~~~~~~
ufo.cpp:29:5: note: in expansion of macro 'scan3'
29 | scan3(n,m,r)
| ^~~~~
ufo.cpp:16:36: note: format string is defined here
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ~^
| |
| int*
| %lld
ufo.cpp:15:26: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
15 | #define scan2(a,b) scanf("%d %d",&a, &b);
| ^~~~~~~ ~~~~~~~~
| |
| long long int*
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 | #define all(s) s.begin(),s.end()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 | #define allr(s) s.rbegin(),s.rend()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 | #define pb push_back
| ~~~~~~~~~~~~~~~~~~~~
20 | #define sz(v) (int)v.size()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 | #define endi puts("");
| ~~~~~~~~~~~~~~~~~~~~~~
22 | #define eps 1e-12
| ~~~~~~~~~~~~~~~~~
23 | const int N = 1e6+12,INF=1e9+7;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 |
|
25 |
|
26 | main(){
| ~~~~~~~
27 | int n,m,i,j,r,t,p,mx=0;
| ~~~~~~~~~~~~~~~~~~~~~~~
28 | vector <vector <int> > q,dp;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | scan3(n,m,r)
| ~~~~~~~~~~~~
30 | scan2(t,p)
| ~~~~~~~
ufo.cpp:30:5: note: in expansion of macro 'scan2'
30 | scan2(t,p)
| ^~~~~
ufo.cpp:15:28: note: format string is defined here
15 | #define scan2(a,b) scanf("%d %d",&a, &b);
| ~^
| |
| int*
| %lld
ufo.cpp:15:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
15 | #define scan2(a,b) scanf("%d %d",&a, &b);
| ^~~~~~~ ~~~~
| |
| long long int*
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 | #define all(s) s.begin(),s.end()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 | #define allr(s) s.rbegin(),s.rend()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19 | #define pb push_back
| ~~~~~~~~~~~~~~~~~~~~
20 | #define sz(v) (int)v.size()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
21 | #define endi puts("");
| ~~~~~~~~~~~~~~~~~~~~~~
22 | #define eps 1e-12
| ~~~~~~~~~~~~~~~~~
23 | const int N = 1e6+12,INF=1e9+7;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24 |
|
25 |
|
26 | main(){
| ~~~~~~~
27 | int n,m,i,j,r,t,p,mx=0;
| ~~~~~~~~~~~~~~~~~~~~~~~
28 | vector <vector <int> > q,dp;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29 | scan3(n,m,r)
| ~~~~~~~~~~~~
30 | scan2(t,p)
| ~~~~~~~~~
ufo.cpp:30:5: note: in expansion of macro 'scan2'
30 | scan2(t,p)
| ^~~~~
ufo.cpp:15:31: note: format string is defined here
15 | #define scan2(a,b) scanf("%d %d",&a, &b);
| ~^
| |
| int*
| %lld
ufo.cpp:14:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type*' {aka 'long long int*'} [-Wformat=]
14 | #define scan1(a) scanf("%d",&a);
| ^~~~
ufo.cpp:36:13: note: in expansion of macro 'scan1'
36 | scan1(q[i][j])
| ^~~~~
ufo.cpp:14:26: note: format string is defined here
14 | #define scan1(a) scanf("%d",&a);
| ~^
| |
| int*
| %lld
ufo.cpp:16:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
16 | #define scan3(a,b,c) scanf("%d %d %d",&a,&b,&c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
ufo.cpp:29:5: note: in expansion of macro 'scan3'
29 | scan3(n,m,r)
| ^~~~~
ufo.cpp:15:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
15 | #define scan2(a,b) scanf("%d %d",&a, &b);
| ~~~~~^~~~~~~~~~~~~~~~
ufo.cpp:30:5: note: in expansion of macro 'scan2'
30 | scan2(t,p)
| ^~~~~
ufo.cpp:14:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
14 | #define scan1(a) scanf("%d",&a);
| ~~~~~^~~~~~~~~
ufo.cpp:36:13: note: in expansion of macro 'scan1'
36 | scan1(q[i][j])
| ^~~~~