# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1054336 | 2024-08-12T08:53:15 Z | Gangsta | Rainforest Jumps (APIO21_jumps) | C++14 | 596 ms | 1964 KB |
#include <bits/stdc++.h> #define pb push_back using namespace std; const int N = 2e5 + 1; bool sub1 = 0; int minimum_jumps(int A, int B, int C, int D){ if(sub1 == 0){ return C-B; } } void init(int n, vector <int> h){ for(int i = 1; i <= n; i++){ if(h[i] != i+1) sub1 = 1; } } // int main(){ // int n, q; // vector <int> v; // cin >> n; // for(int i = 0; i < n; i++){ // int x; // cin >> x; // v.pb(x); // } // init(n, v); // cin >> q; // while(q--){ // int a, b, c, d; // cin >> a >> b >> c >> d; // } // }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Correct | 0 ms | 344 KB | Output is correct |
3 | Correct | 69 ms | 1576 KB | Output is correct |
4 | Correct | 521 ms | 1964 KB | Output is correct |
5 | Correct | 486 ms | 1108 KB | Output is correct |
6 | Correct | 596 ms | 1880 KB | Output is correct |
7 | Correct | 448 ms | 1368 KB | Output is correct |
8 | Correct | 455 ms | 1880 KB | Output is correct |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 344 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 344 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 344 KB | Output isn't correct |
2 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Incorrect | 0 ms | 344 KB | Output isn't correct |
3 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Incorrect | 0 ms | 344 KB | Output isn't correct |
3 | Halted | 0 ms | 0 KB | - |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 0 ms | 344 KB | Output is correct |
2 | Correct | 0 ms | 344 KB | Output is correct |
3 | Correct | 69 ms | 1576 KB | Output is correct |
4 | Correct | 521 ms | 1964 KB | Output is correct |
5 | Correct | 486 ms | 1108 KB | Output is correct |
6 | Correct | 596 ms | 1880 KB | Output is correct |
7 | Correct | 448 ms | 1368 KB | Output is correct |
8 | Correct | 455 ms | 1880 KB | Output is correct |
9 | Incorrect | 0 ms | 344 KB | Output isn't correct |
10 | Halted | 0 ms | 0 KB | - |