Problem flamethrower
User earthyeet
Submission Time 2025-09-23 10:54:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:14:15: error: no match for ‘operator[]’ (operand types are ‘std::__cxx11::list<int>’ and ‘int’)
14 | sum += trees[i]
| ^