school.cpp:17:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
17 | main(){
| ^~~~
school.cpp: In function 'int main()':
school.cpp:36:62: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
36 | if(!(vp[i].ff >= a[lm - 1] || vp[i].ss >= b[ls - 1]) || !s && !m)continue;
| ~~~^~~~~
school.cpp:37:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
37 | if(vp[i].ff >= a[lm - 1] && (m && !s || m && abs(a[lm] - a[lm - 1]) >= abs(b[ls] - b[ls - 1]))){
| ~~^~~~~
school.cpp:42:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
42 | }else if(vp[i].ss >= b[ls - 1] && (!m || s && abs(a[lm] - a[lm - 1]) <= abs(b[ls] - b[ls - 1]))){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~