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