tabletennis.cpp:4:39: warning: bad option '-favx' to pragma 'optimize' [-Wpragmas]
4 | #pragma GCC optimize ("avx, avx2, fma")
| ^
tabletennis.cpp:4:39: warning: bad option '-f avx2' to pragma 'optimize' [-Wpragmas]
tabletennis.cpp:4:39: warning: bad option '-f fma' to pragma 'optimize' [-Wpragmas]
tabletennis.cpp:19:10: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
19 | int main()
| ^
tabletennis.cpp:19:10: warning: bad option '-f avx2' to attribute 'optimize' [-Wattributes]
tabletennis.cpp:19:10: warning: bad option '-f fma' to attribute 'optimize' [-Wattributes]
tabletennis.cpp: In function 'int main()':
tabletennis.cpp:34:45: warning: bad option '-favx' to attribute 'optimize' [-Wattributes]
34 | sort(V, V+t, [&](const pii &p, const pii &q)
| ^
tabletennis.cpp:34:45: warning: bad option '-f avx2' to attribute 'optimize' [-Wattributes]
tabletennis.cpp:34:45: warning: bad option '-f fma' to attribute 'optimize' [-Wattributes]
tabletennis.cpp:21:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
21 | scanf("%d%d", &N, &K);
| ~~~~~^~~~~~~~~~~~~~~~
tabletennis.cpp:22:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
22 | for(int i=1; i<=N+K; i++) scanf("%d", &A[i]);
| ~~~~~^~~~~~~~~~~~~