arranging_tickets.cpp: In function 'int main()':
arranging_tickets.cpp:43:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
43 | int sz, n; scanf("%d %d", &sz, &n);
| ~~~~~^~~~~~~~~~~~~~~~~~
arranging_tickets.cpp:45:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
45 | scanf("%d %d %d", &itv[i].l, &itv[i].r, &itv[i].qtd);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~