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