# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
440438 | sam571128 | 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>
void init(int N, std::vector<int> H) {
}
int minimum_jumps(int A, int B, int C, int D) {
return min({abs(A-D),abs(A-C),abs(B-C),abc(B-D)});
}