# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1054336 | Gangsta | Rainforest Jumps (APIO21_jumps) | C++14 | 596 ms | 1964 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include <bits/stdc++.h>
#define pb push_back
using namespace std;
const int N = 2e5 + 1;
bool sub1 = 0;
int minimum_jumps(int A, int B, int C, int D){
if(sub1 == 0){
return C-B;
}
}
void init(int n, vector <int> h){
for(int i = 1; i <= n; i++){
if(h[i] != i+1) sub1 = 1;
}
}
// int main(){
// int n, q;
// vector <int> v;
// cin >> n;
// for(int i = 0; i < n; i++){
// int x;
// cin >> x;
// v.pb(x);
// }
// init(n, v);
// cin >> q;
// while(q--){
// int a, b, c, d;
// cin >> a >> b >> c >> d;
// }
// }
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |