C.cpp: In function 'int32_t main()':
C.cpp:35:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | int T; scanf("%lld", &T);
| ~~~~~^~~~~~~~~~~~
C.cpp:38:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | scanf("%lld%lld%lld", &n, &p, &m);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
C.cpp:42:36: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
42 | for(int i = 1; i <= p; i++) scanf("%lld%lld", &man[i].first, &man[i].second);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C.cpp:45:19: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | int d, l; scanf("%lld%lld", &d, &l); int prv, here;
| ~~~~~^~~~~~~~~~~~~~~~~~~~
C.cpp:46:9: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
46 | scanf("%lld", &prv);
| ~~~~~^~~~~~~~~~~~~~
C.cpp:49:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
49 | scanf("%lld", &here);
| ~~~~~^~~~~~~~~~~~~~~