Problem potatosalad
User GanJaeHan
Submission Time 2026-01-28 17:30:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:16:12: error: no match for ‘operator[]’ (operand types are ‘int’ and ‘std::vector<int>’)
16 | ans += i[M];
| ^