Problem flamethrower
User w1gglya3hh
Submission Time 2026-06-18 10:08:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:12:21: error: cannot bind non-const lvalue reference of type ‘unsigned int&’ to an rvalue of type ‘unsigned int’
12 | for (unsigned& i : uniqueCost) {
| ^~~~~~~~~~