Problem jumps
User justin271828
Submission Time 2023-06-27 22:35:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

jumps.cpp:5:8: error: array bound is not an integer constant before ‘]’ token
5 | int H[N];
| ^
jumps.cpp: In function ‘int minimum_jumps(int, int, int, int)’:
jumps.cpp:10:12: error: a function-definition is not allowed here before ‘{’ token
10 | int main() {
| ^
jumps.cpp:10:11: error: expected ‘;’ before ‘{’ token
10 | int main() {
| ^~
| ;
jumps.cpp:10:12: error: expected primary-expression before ‘{’ token
10 | int main() {
| ^
jumps.cpp:10:11: error: expected ‘;’ before ‘{’ token
10 | int main() {
| ^~
| ;
jumps.cpp:10:12: error: expected primary-expression before ‘{’ token
10 | int main() {
| ^
jumps.cpp:10:11: error: expected ‘)’ before ‘{’ token
10 | int main() {
| ^~
| )
jumps.cpp:8:6: note: to match this ‘(’
8 | fo