foo.cc: In function 'void down(int, int, int)':
foo.cc:40:13: warning: unused variable 'm' [-Wunused-variable]
40 | int m = L + (R - L) / 2;
| ^
foo.cc: In function 'void solve(int, int)':
foo.cc:72:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
72 | scanf("%d %d %d", &c, &a, &b);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'void init(int, int)':
foo.cc:82:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
82 | scanf("%d", &data[i]);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:88:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
88 | scanf("%d %d", &n, &m);
| ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务