# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
569029 | kikoki | Rainforest Jumps (APIO21_jumps) | C++17 | 0 ms | 0 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 "jumps.h"
#include <bits/stdc++.h>
using namespace std;
int n;
vector <int> a;
void init(int N, vector<int> H)
{
n = N;
a = H;
}
int minimum_jumps(int A, int B, int C, int D)
{
if (b < c)
{
return c - b;
}
else
{
return -1;
}
}