teams.cpp:1:32: warning: '-std=c++11' is not an option that controls warnings [-Wpragmas]
1 | #pragma GCC diagnostic warning "-std=c++11"
| ^~~~~~~~~~~~
teams.cpp: In function 'void init(int, int*, int*)':
teams.cpp:16:15: warning: declaration of 'N' shadows a global declaration [-Wshadow]
16 | void init(int N, int A[], int B[]) {
| ~~~~^
teams.cpp:13:11: note: shadowed declaration is here
13 | const int N=5e5+5;
| ^
teams.cpp:16:31: warning: unused parameter 'B' [-Wunused-parameter]
16 | void init(int N, int A[], int B[]) {
| ~~~~^~~
teams.cpp: In function 'int can(int, int*)':
teams.cpp:34:20: warning: comparison of integer expressions of different signedness: 'std::multiset<std::pair<int, int> >::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
34 | if (myset.size()<i) return 0;
| ~~~~~~~~~~~~^~