Problem solarstorm
User LimCheeHann
Submission Time 2026-02-15 13:15:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

solarstorm.cpp: In function ‘int main()’:
solarstorm.cpp:30:7: error: ‘current’ was not declared in this scope; did you mean ‘current_pos’?
30 | current+=k;
| ^~~~~~~
| current_pos
solarstorm.cpp:38:7: error: ‘current’ was not declared in this scope; did you mean ‘current_pos’?
38 | current+=k;
| ^~~~~~~
| current_pos
solarstorm.cpp:59:6: error: ‘current’ was not declared in this scope; did you mean ‘current_pos’?
59 | current+=k;
| ^~~~~~~
| current_pos
solarstorm.cpp:68:6: error: ‘current’ was not declared in this scope; did you mean ‘current_pos’?
68 | current+=k;
| ^~~~~~~
| current_pos