timeleap.cpp: In function 'll query(int, int, int, int)':
timeleap.cpp:56:20: warning: statement has no effect [-Wunused-value]
56 | #define debug(...) 42
| ^~
timeleap.cpp:76:5: note: in expansion of macro 'debug'
76 | debug(t1);
| ^~~~~
timeleap.cpp: In function 'int main(int, const char**)':
timeleap.cpp:88:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
88 | scanf("%d %d", &n, &q);
| ~~~~~^~~~~~~~~~~~~~~~~
timeleap.cpp:90:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
90 | scanf("%d %d", &L[i], &R[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
timeleap.cpp:93:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
93 | int op; scanf("%d", &op);
| ~~~~~^~~~~~~~~~~
timeleap.cpp:95:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
95 | int p; scanf("%d", &p);
| ~~~~~^~~~~~~~~~
timeleap.cpp:96:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
96 | scanf("%d %d", &L[p], &R[p]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
timeleap.cpp:99:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
99 | scanf("%d %d %d %d", &i, &t1, &j, &t2);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~