Problem collectmushrooms
User haiquan
Submission Time 2025-12-17 02:10:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms.cpp: In function ‘int main()’:
collectmushrooms.cpp:19:13: error: ‘x’ was not declared in this scope
19 | if (x == 0){
| ^
collectmushrooms.cpp:32:23: error: redeclaration of ‘long long int x’
32 | long long x, y;
| ^
collectmushrooms.cpp:19:13: note: ‘<typeprefixerror>x’ previously declared here
19 | if (x == 0){
| ^