Problem coke
User grapecoder
Submission Time 2025-02-14 12:47:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

coke.cpp: In function ‘int main()’:
coke.cpp:79:25: error: expected unqualified-id before ‘int’
79 | for (int i = N - K, int z = 0; i < N; i++, z++) {
| ^~~
coke.cpp:79:24: error: expected ‘;’ before ‘int’
79 | for (int i = N - K, int z = 0; i < N; i++, z++) {
| ^~~~
| ;
coke.cpp:79:41: error: expected ‘)’ before ‘;’ token
79 | for (int i = N - K, int z = 0; i < N; i++, z++) {
| ~ ^
| )
coke.cpp:79:43: error: ‘i’ was not declared in this scope
79 | for (int i = N - K, int z = 0; i < N; i++, z++) {
| ^
coke.cpp:79:48: error: ‘z’ was not declared in this scope
79 | for (int i = N - K, int z = 0; i < N; i++, z++) {
|