#include "jumps.h"
#include <iostream>
#include <vector>
using namespace std;
int n;
vector<int> h;
void init(int N, vector<int> H)
{
n = N;
h = H;
}
int minimum_jumps(int a, int b, int c, int d)
{
return c - b;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
208 KB |
Output is correct |
2 |
Correct |
0 ms |
208 KB |
Output is correct |
3 |
Correct |
115 ms |
2072 KB |
Output is correct |
4 |
Correct |
788 ms |
2600 KB |
Output is correct |
5 |
Correct |
796 ms |
1488 KB |
Output is correct |
6 |
Correct |
731 ms |
2640 KB |
Output is correct |
7 |
Correct |
543 ms |
1868 KB |
Output is correct |
8 |
Correct |
834 ms |
2576 KB |
Output is correct |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
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 |
- |
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
0 ms |
208 KB |
Output is correct |
2 |
Correct |
0 ms |
208 KB |
Output is correct |
3 |
Correct |
115 ms |
2072 KB |
Output is correct |
4 |
Correct |
788 ms |
2600 KB |
Output is correct |
5 |
Correct |
796 ms |
1488 KB |
Output is correct |
6 |
Correct |
731 ms |
2640 KB |
Output is correct |
7 |
Correct |
543 ms |
1868 KB |
Output is correct |
8 |
Correct |
834 ms |
2576 KB |
Output is correct |
9 |
Incorrect |
0 ms |
208 KB |
Output isn't correct |
10 |
Halted |
0 ms |
0 KB |
- |