foo.cc: In function 'int check(int)':
foo.cc:54:13: warning: unused variable 'j' [-Wunused-variable]
54 | int j=0; int cnt=0; int ans=0;
| ^
foo.cc:54:22: warning: unused variable 'cnt' [-Wunused-variable]
54 | int j=0; int cnt=0; int ans=0;
| ^~~
foo.cc: In function 'll solve(int)':
foo.cc:77:13: warning: unused variable 'j' [-Wunused-variable]
77 | int j=0; int cnt=0; ll ans=0;
| ^
foo.cc:77:22: warning: unused variable 'cnt' [-Wunused-variable]
77 | int j=0; int cnt=0; ll ans=0;
| ^~~
[Hydro](https://hydro.ac)提供评测服务