Main.cpp: In function 'int main()':
Main.cpp:12:20: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | int a, t; scanf("%d %d", &a, &t);
| ~~~~~^~~~~~~~~~~~~~~~~
Main.cpp:14:12: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | scanf("%s", s);
| ~~~~~^~~~~~~~~
Main.cpp:16:26: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | int m, a; scanf("%d", &m);
| ~~~~~^~~~~~~~~~
Main.cpp:17:27: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | forn(i, m) scanf("%d", &a);
| ~~~~~^~~~~~~~~~
Main.cpp:22:25: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | int num; scanf("%d", &num);
| ~~~~~^~~~~~~~~~~~