#include "jumps.h"
#include <vector>
int n;
std::vector<int> h;
void init(int N, std::vector<int> H) {
n = N;
h = H;
}
int minimum_jumps(int A, int B, int C, int D) {
return C - B;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
208 KB |
Output is correct |
2 |
Correct |
0 ms |
272 KB |
Output is correct |
3 |
Correct |
124 ms |
2052 KB |
Output is correct |
4 |
Correct |
900 ms |
2572 KB |
Output is correct |
5 |
Correct |
794 ms |
1352 KB |
Output is correct |
6 |
Correct |
943 ms |
2576 KB |
Output is correct |
7 |
Correct |
569 ms |
1904 KB |
Output is correct |
8 |
Correct |
1000 ms |
2696 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
208 KB |
Output is correct |
2 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
208 KB |
Output is correct |
2 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
208 KB |
Output is correct |
2 |
Correct |
0 ms |
272 KB |
Output is correct |
3 |
Correct |
124 ms |
2052 KB |
Output is correct |
4 |
Correct |
900 ms |
2572 KB |
Output is correct |
5 |
Correct |
794 ms |
1352 KB |
Output is correct |
6 |
Correct |
943 ms |
2576 KB |
Output is correct |
7 |
Correct |
569 ms |
1904 KB |
Output is correct |
8 |
Correct |
1000 ms |
2696 KB |
Output is correct |
9 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
10 |
Halted |
0 ms |
0 KB |
- |