Problem wallabyhop
User chiefoggy
Submission Time 2024-11-19 13:37:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wallabyhop.cpp:9:30: error: stray ‘#’ in program
9 | if h[i] + 1 == h[j]: #no need to add boxes
| ^
wallabyhop.cpp:12:10: error: invalid preprocessing directive #need
12 | #need to add boxes
| ^~~~
wallabyhop.cpp:14:10: error: invalid preprocessing directive #check
14 | #check if there is enough m to continue
| ^~~~~
wallabyhop.cpp:15:22: error: stray ‘#’ in program
15 | if diff > m: #not enough to continue
| ^
wallabyhop.cpp:18:15: error: stray ‘#’ in program
18 | else: #enough to continue
| ^
wallabyhop.cpp:1:1: error: ‘n’ does not name a type
1 | n, m = map(int, input().split())
| ^