stove.cpp: In function 'int main()':
stove.cpp:9:18: warning: unused variable 'j' [-Wunused-variable]
9 | int n, i, k, j, ans1=0, mn=0, mx=-INF, ans3=0;
| ^
stove.cpp:9:21: warning: unused variable 'ans1' [-Wunused-variable]
9 | int n, i, k, j, ans1=0, mn=0, mx=-INF, ans3=0;
| ^~~~
stove.cpp:9:29: warning: unused variable 'mn' [-Wunused-variable]
9 | int n, i, k, j, ans1=0, mn=0, mx=-INF, ans3=0;
| ^~
stove.cpp:9:35: warning: unused variable 'mx' [-Wunused-variable]
9 | int n, i, k, j, ans1=0, mn=0, mx=-INF, ans3=0;
| ^~
stove.cpp:9:44: warning: unused variable 'ans3' [-Wunused-variable]
9 | int n, i, k, j, ans1=0, mn=0, mx=-INF, ans3=0;
| ^~~~
stove.cpp:12:9: warning: unused variable 'ans' [-Wunused-variable]
12 | int ans[n+1];
| ^~~
stove.cpp:13:9: warning: variable 'sum' set but not used [-Wunused-but-set-variable]
13 | int sum[n+1];
| ^~~