Problem flamethrower
User PyAce
Submission Time 2026-02-21 12:17:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower.cpp: In function ‘int32_t main()’:
flamethrower.cpp:18:3: error: ‘total’ was not declared in this scope
18 | total += v[i]
| ^~~~~
flamethrower.cpp:19:16: error: ‘m’ was not declared in this scope
19 | for (int m=1;m<q;m++){
| ^