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

Compile Error

jumps.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
jumps.cpp: In function ‘int minimum_jumps(int, int, int, int)’:
jumps.cpp:7:12: error: a function-definition is not allowed here before ‘{’ token
7 | int main() {
| ^
jumps.cpp:7:11: error: expected ‘;’ before ‘{’ token
7 | int main() {
| ^~
| ;
jumps.cpp:7:12: error: expected primary-expression before ‘{’ token
7 | int main() {
| ^
jumps.cpp:7:11: error: expected ‘;’ before ‘{’ token
7 | int main() {
| ^~
| ;
jumps.cpp:7:12: error: expected primary-expression before ‘{’ token
7 | int main() {
| ^
jumps.cpp:7:11: error: expected ‘)’ before ‘{’ token
7 | int main() {
| ^~
| )
jumps.cpp:5:6: note: to match this ‘(’
5 | for (