Submission #983879

#TimeUsernameProblemLanguageResultExecution timeMemory
983879MarcusRainforest Jumps (APIO21_jumps)C++17
4 / 100
585 ms3824 KiB
#include <bits/stdc++.h> using namespace std; int n; vector<int> h; void init(int N, std::vector<int> H) { n = N; for (auto u: H) {h.push_back(u);} h.shrink_to_fit(); } int minimum_jumps(int A, int B, int C, int D) { int answer = h[C] - h[B]; return answer; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...