#include "jumps.h"
#include<bits/stdc++.h>
using namespace std;
#define all(a) a.begin(),a.end()
#define ll long long
#define pb push_back
#define nl '\n'
#define popb pop_back()
#define sz size()
#define ld long double
#define ull unsigned long long
#define F first
#define S second
#define fix fixed<<setprecision
#define pii pair<int,int>
#define E exit (0)
const int N=2e5,mod=1e9+7;
int n, h[N + 1];
void init(int nn, vector<int> a) {
n = nn;
for (int i = 0; i < n; i++) h[i] = a[i];
}
int minimum_jumps(int a, int b, int c, int d) {
return c - b;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
200 KB |
Output is correct |
2 |
Correct |
1 ms |
200 KB |
Output is correct |
3 |
Correct |
119 ms |
2080 KB |
Output is correct |
4 |
Correct |
957 ms |
2704 KB |
Output is correct |
5 |
Correct |
906 ms |
1448 KB |
Output is correct |
6 |
Correct |
1136 ms |
2592 KB |
Output is correct |
7 |
Correct |
874 ms |
1828 KB |
Output is correct |
8 |
Correct |
1026 ms |
2592 KB |
Output is correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
200 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
200 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
0 ms |
200 KB |
Output isn't correct |
2 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
200 KB |
Output is correct |
2 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
1 ms |
200 KB |
Output is correct |
2 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
3 |
Halted |
0 ms |
0 KB |
- |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
0 ms |
200 KB |
Output is correct |
2 |
Correct |
1 ms |
200 KB |
Output is correct |
3 |
Correct |
119 ms |
2080 KB |
Output is correct |
4 |
Correct |
957 ms |
2704 KB |
Output is correct |
5 |
Correct |
906 ms |
1448 KB |
Output is correct |
6 |
Correct |
1136 ms |
2592 KB |
Output is correct |
7 |
Correct |
874 ms |
1828 KB |
Output is correct |
8 |
Correct |
1026 ms |
2592 KB |
Output is correct |
9 |
Incorrect |
0 ms |
200 KB |
Output isn't correct |
10 |
Halted |
0 ms |
0 KB |
- |