Problem stepgame
User PriyankCoder
Submission Time 2026-01-10 19:52:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stepgame.cpp: In function ‘int main()’:
stepgame.cpp:14:21: error: ‘min_sum’ was not declared in this scope; did you mean ‘min_sun’?
14 | if (current_sum < min_sum){
| ^~~~~~~
| min_sun
stepgame.cpp:18:17: error: expected ‘;’ before ‘}’ token
18 | current_sum=0
| ^
| ;
19 | }
| ~
stepgame.cpp:21:10: error: ‘min_sum’ was not declared in this scope; did you mean ‘min_sun’?
21 | cout << min_sum << "\n";
| ^~~~~~~
| min_sun