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

Compile Error

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