Problem duckwander
User Hytoh
Submission Time 2024-01-29 15:42:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckwander.cpp: In function ‘int main()’:
duckwander.cpp:5:13: error: expected initializer before ‘int’
5 | long logn int y = 0;
| ^~~
duckwander.cpp:15:7: error: ‘y’ was not declared in this scope
15 | y = y + val;
| ^
duckwander.cpp:19:7: error: ‘y’ was not declared in this scope
19 | y = y - val;
| ^
duckwander.cpp:30:23: error: ‘y’ was not declared in this scope
30 | cout << x << " " << y;
| ^