school.cpp: In function 'void S()':
school.cpp:10:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
10 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
school.cpp:21:2: note: in expansion of macro 'fp'
21 | fp(i,0,n){
| ^~
school.cpp:11:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
11 | #define fpp(a,i,c) for(int (a) = (i); (a) <= (c); (a)++)
| ^
school.cpp:28:2: note: in expansion of macro 'fpp'
28 | fpp(i,1,n){
| ^~~
school.cpp:31:16: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
31 | if(sc.size() > ss)
| ~~~~~~~~~~^~~~
school.cpp:12:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
12 | #define fm(a,i,c) for(int (a) = (i); (a) > (c); (a)--)
| ^
school.cpp:37:2: note: in expansion of macro 'fm'
37 | fm(i,n,0){
| ^~
school.cpp:40:16: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
40 | if(sc.size() > m)
| ~~~~~~~~~~^~~
school.cpp:11:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
11 | #define fpp(a,i,c) for(int (a) = (i); (a) <= (c); (a)++)
| ^
school.cpp:45:2: note: in expansion of macro 'fpp'
45 | fpp(i,0,n){
| ^~~