cook.cpp: In function 'int main()':
cook.cpp:10:48: warning: unused variable 'dq' [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~
cook.cpp:10:62: warning: unused variable 'qu' [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~
cook.cpp:10:76: warning: unused variable 'head' [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~~~
cook.cpp:10:85: warning: unused variable 'cnt' [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~~
cook.cpp:11:24: warning: unused variable 'h1' [-Wunused-variable]
11 | int n, k, l, r, t, h, h1, h2, h3, h_, i, j, ans;
| ^~
cook.cpp:11:28: warning: unused variable 'h2' [-Wunused-variable]
11 | int n, k, l, r, t, h, h1, h2, h3, h_, i, j, ans;
| ^~
cook.cpp:11:32: warning: unused variable 'h3' [-Wunused-variable]
11 | int n, k, l, r, t, h, h1, h2, h3, h_, i, j, ans;
| ^~
cook.cpp:13:7: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%d%d%d%d%d", &k, &n, &l, &r, &t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cook.cpp:16:9: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%d", &ss[h][i]), ss[h][i] += ss[h][i - 1];
| ~~~~~^~~~~~~~~~~~~~~~~
cook.cpp:18:8: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | scanf("%d", &pp[h]), pp[h]--;
| ~~~~~^~~~~~~~~~~~~~
cook.cpp: At global scope:
cook.cpp:10:85: warning: 'cnt' defined but not used [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~~
cook.cpp:10:76: warning: 'head' defined but not used [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~~~
cook.cpp:10:62: warning: 'qu' defined but not used [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~
cook.cpp:10:48: warning: 'dq' defined but not used [-Wunused-variable]
10 | static int ss[K][N + 1], pp[K], dp[K][N + 1], dq[K][N + 1], qu[K][N + 1], head[K], cnt[K];
| ^~