Problem collectmushrooms
User burningout
Submission Time 2025-02-18 20:31:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms.cpp: In function ‘int main()’:
collectmushrooms.cpp:6:2: error: ‘arr’ was not declared in this scope
6 | arr[n];
| ^~~
collectmushrooms.cpp:15:10: error: ‘a’ was not declared in this scope
15 | cin >> a >> b;
| ^
collectmushrooms.cpp:15:15: error: ‘b’ was not declared in this scope
15 | cin >> a >> b;
| ^