Problem collectmushrooms6
User CKCodeBreaker55
Submission Time 2026-02-04 13:57:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms6.cpp: In lambda function:
collectmushrooms6.cpp:96:25: error: ‘n’ was not declared in this scope
96 | for (int i = 0; i < n; i++)
| ^
collectmushrooms6.cpp:98:27: error: ‘m’ was not declared in this scope
98 | for (int j = 1; j < m; j++)
| ^
collectmushrooms6.cpp:103:25: error: ‘n’ was not declared in this scope
103 | for (int i = 1; i < n; i++)
| ^
collectmushrooms6.cpp:105:27: error: ‘m’ was not declared in this scope
105 | for (int j = 0; j < m; j++)
| ^
collectmushrooms6.cpp: In function ‘int main()’:
collectmushrooms6.cpp:111:3: error: expected ‘,’ or ‘;’ before ‘compute’
111 | compute();
| ^~~~~~~