football.cpp: In function 'void solve()':
football.cpp:6:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
6 | scanf("%d%d", &n, &k);
| ~~~~~^~~~~~~~~~~~~~~~
football.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~
football.cpp: In function 'int main()':
football.cpp:22:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | scanf("%d", &t);
| ~~~~~^~~~~~~~~~