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:75:5: note: in expansion of macro 'debug'
75 | debug(t1);
| ^~~~~
timeleap.cpp: In function 'int main(int, const char**)':
timeleap.cpp:87:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
87 | scanf("%d %d", &n, &q);
| ~~~~~^~~~~~~~~~~~~~~~~
timeleap.cpp:89:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
89 | scanf("%d %d", &L[i], &R[i]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
timeleap.cpp:92:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
92 | int op; scanf("%d", &op);
| ~~~~~^~~~~~~~~~~
timeleap.cpp:94:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
94 | int p; scanf("%d", &p);
| ~~~~~^~~~~~~~~~
timeleap.cpp:95:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
95 | scanf("%d %d", &L[p], &R[p]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
timeleap.cpp:98:12: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
98 | scanf("%d %d %d %d", &i, &t1, &j, &t2);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~