Problem simplebridges
User Yhtleee08
Submission Time 2024-02-13 14:44:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simplebridges.cpp: In function ‘int main()’:
simplebridges.cpp:16:53: error: expected ‘}’ at end of input
16 | int maxReachablePosition = S + steps * K;
| ^
simplebridges.cpp:13:16: note: to match this ‘{’
13 | } else {
| ^
simplebridges.cpp:16:53: error: expected ‘}’ at end of input
16 | int maxReachablePosition = S + steps * K;
| ^
simplebridges.cpp:10:12: note: to match this ‘{’
10 | } else {
| ^
simplebridges.cpp:16:53: error: expected ‘}’ at end of input
16 | int maxReachablePosition = S + steps * K;
| ^
simplebridges.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^