Problem collectmushrooms6
User maximushartanto
Submission Time 2025-06-04 20:11:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms6.cpp: In function ‘int main()’:
collectmushrooms6.cpp:103:10: error: ‘nt’ was not declared in this scope; did you mean ‘int’?
103 | nt xr = min(x + d, c-1);
| ^~
| int
collectmushrooms6.cpp:106:30: error: ‘xr’ was not declared in this scope; did you mean ‘xl’?
106 | ans += (sum(yt,yb,xl,xr) >= k);
| ^~
| xl