consul.cpp:23: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
23 | #pragma comment(linker, "/stack:200000000")
|
consul.cpp: In function 'void solve(int)':
consul.cpp:41:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | #define min(a,b) (((a)<(b))?(a):(b))
| ~~~^~~~
consul.cpp:118:16: note: in expansion of macro 'min'
118 | for (i=0;i<min(NUM_INT,vec.size());i++) {
| ^~~
consul.cpp:118:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
118 | for (i=0;i<min(NUM_INT,vec.size());i++) {
| ^
consul.cpp:41:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | #define min(a,b) (((a)<(b))?(a):(b))
| ~~~^~~~
consul.cpp:125:17: note: in expansion of macro 'min'
125 | for (i=1;i<=min(NUM_CNT,vec2.size());i++) {
| ^~~
consul.cpp:125:15: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
125 | for (i=1;i<=min(NUM_CNT,vec2.size());i++) {
| ^
consul.cpp:107:9: warning: unused variable 'm' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^
consul.cpp:107:17: warning: unused variable 'j' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^
consul.cpp:107:21: warning: unused variable 'k' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^
consul.cpp:107:25: warning: unused variable 't' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^
consul.cpp:107:29: warning: unused variable 't1' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^~
consul.cpp:107:38: warning: unused variable 'v' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^
consul.cpp:107:42: warning: unused variable 'a' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^
consul.cpp:107:46: warning: unused variable 'b' [-Wunused-variable]
107 | int m=0,i=0,j=0,k=0,t=0,t1=0,u=0,v=0,a=0,b=0;
| ^