Problem flamethrower_ex
User PlayVoltz
Submission Time 2023-11-09 20:52:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flamethrower_ex.cpp: In function ‘int32_t main()’:
flamethrower_ex.cpp:19:26: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++17
19 | if (sum<=0)sum=0, ++c[i], ++count;
| ^