Problem jumps
User jmuzhen
Submission Time 2023-06-27 20:48:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

jumps.cpp:92:24: error: expected ‘,’ or ‘...’ before ‘H’
92 | void init(int N, int[] H) {
| ^
jumps.cpp: In function ‘void init(int, int*)’:
jumps.cpp:93:25: error: ‘H’ was not declared in this scope
93 | tree_heights.assign(H, H + N);
| ^