Problem doll_noi
User trollSecOps
Submission Time 2024-02-23 21:33:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doll_noi.cpp: In function ‘i32 solve(const std::vector<int>&)’:
doll_noi.cpp:22:13: error: increment of read-only location ‘(& dolls)->std::vector<int>::operator[](((std::vector<int>::size_type)i))’
22 | ++stacks;
| ^~
doll_noi.cpp:22:15: error: expected ‘;’ before ‘stacks’
22 | ++stacks;
| ^~~~~~
| ;