school.cpp: In function 'void S()':
school.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
school.cpp:17:2: note: in expansion of macro 'fp'
17 | fp(i,0,n){
| ^~
school.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
school.cpp:24:2: note: in expansion of macro 'fp'
24 | fp(i,0,n){
| ^~
school.cpp:27:16: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
27 | if(sc.size() > ss)
| ~~~~~~~~~~^~~~
school.cpp:9:28: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
9 | #define fmm(a,i,c) for(int (a) = (i); (a) >= (c); (a)--)
| ^
school.cpp:33:2: note: in expansion of macro 'fmm'
33 | fmm(i,n-1,0){
| ^~~
school.cpp:36:16: warning: comparison of integer expressions of different signedness: 'std::multiset<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if(sc.size() > m)
| ~~~~~~~~~~^~~
school.cpp:6:27: warning: unnecessary parentheses in declaration of 'i' [-Wparentheses]
6 | #define fp(a,i,c) for(int (a) = (i); (a) < (c); (a)++)
| ^
school.cpp:41:2: note: in expansion of macro 'fp'
41 | fp(i,0,n){
| ^~