Submission #954087

#TimeUsernameProblemLanguageResultExecution timeMemory
954087UnforgettableplRainforest Jumps (APIO21_jumps)C++17
4 / 100
585 ms49296 KiB
#include <bits/stdc++.h> using namespace std; #define int long long vector<int> adj[2000001]; int arr[2000001]; int rarr[2000001]; int n; void init(int32_t N, vector<int32_t> H) { } int32_t minimum_jumps(int32_t A, int32_t B, int32_t C, int32_t D) { return C-B; } //int32_t main() { // int32_t N, Q; // assert(2 == scanf("%d %d", &N, &Q)); // std::vector<int32_t> H(N); // for (int32_t i = 0; i < N; ++i) { // assert(1 == scanf("%d", &H[i])); // } // init(N, H); // // for (int32_t i = 0; i < Q; ++i) { // int32_t A, B, C, D; // assert(4 == scanf("%d %d %d %d", &A, &B, &C, &D)); // printf("%d\n", minimum_jumps(A, B, C, D)); // } // return 0; //}
#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...