sushi.cpp: In function 'int main()':
sushi.cpp:9:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | scanf("%d%d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~
sushi.cpp:12:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | scanf("%d", &x);
| ~~~~~^~~~~~~~~~
sushi.cpp:17:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | scanf("%d%d%d", &l, &r, &p);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~