Submission #565537

#TimeUsernameProblemLanguageResultExecution timeMemory
565537MurotYRainforest Jumps (APIO21_jumps)C++14
4 / 100
848 ms2608 KiB
#include "jumps.h" #include <bits/stdc++.h> #define ll long long using namespace std; vector <int> a; void init(int N, std::vector<int> H) { int n=N; a=H; } int minimum_jumps(int A, int B, int C, int D) { return C-B; }

Compilation message (stderr)

jumps.cpp: In function 'void init(int, std::vector<int>)':
jumps.cpp:7:9: warning: unused variable 'n' [-Wunused-variable]
    7 |     int n=N;
      |         ^
#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...