Problem collectmushrooms2
User maximushartanto
Submission Time 2025-09-01 21:43:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms2.cpp: In function ‘int main()’:
collectmushrooms2.cpp:85:14: error: redeclaration of ‘auto i’
85 | auto [mx, i] = s.query(l,r);
| ^
collectmushrooms2.cpp:82:11: note: ‘int i’ previously declared here
82 | for (int i=0;i<m;i++){
| ^