# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1110465 | 2024-11-09T14:00:12 Z | TitanicXDzz | Gap (APIO16_gap) | C++17 | 41 ms | 3024 KB |
#include "gap.h" #include<bits/stdc++.h> using namespace std; long long findGap(int T, int n) { long long s=-1; long long t=1e18+1; long long x=-1; long long y=-1; long long maxi=LLONG_MIN; while(s<=t){ MinMax(s+1,t-1,&s,&t); if(x!=1){ maxi=max(maxi,s-x); maxi=max(maxi,y-t); } x=s; y=t; } return maxi; }
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 336 KB | Execution failed because the return code was nonzero |
2 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
3 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
4 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
5 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
6 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
7 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
8 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
9 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
10 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
11 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
12 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
13 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
14 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
15 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
16 | Runtime error | 7 ms | 2384 KB | Execution failed because the return code was nonzero |
17 | Runtime error | 8 ms | 2384 KB | Execution failed because the return code was nonzero |
18 | Runtime error | 7 ms | 2384 KB | Execution failed because the return code was nonzero |
19 | Runtime error | 7 ms | 2384 KB | Execution failed because the return code was nonzero |
20 | Runtime error | 7 ms | 2384 KB | Execution failed because the return code was nonzero |
21 | Runtime error | 33 ms | 2808 KB | Execution failed because the return code was nonzero |
22 | Runtime error | 30 ms | 2640 KB | Execution failed because the return code was nonzero |
23 | Runtime error | 35 ms | 3024 KB | Execution failed because the return code was nonzero |
24 | Runtime error | 29 ms | 2640 KB | Execution failed because the return code was nonzero |
25 | Runtime error | 28 ms | 2800 KB | Execution failed because the return code was nonzero |
26 | Runtime error | 30 ms | 2652 KB | Execution failed because the return code was nonzero |
27 | Runtime error | 29 ms | 2640 KB | Execution failed because the return code was nonzero |
28 | Runtime error | 38 ms | 2740 KB | Execution failed because the return code was nonzero |
29 | Runtime error | 35 ms | 2808 KB | Execution failed because the return code was nonzero |
30 | Runtime error | 24 ms | 2640 KB | Execution failed because the return code was nonzero |
31 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
32 | Runtime error | 1 ms | 2552 KB | Execution failed because the return code was nonzero |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
2 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
3 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
4 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
5 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
6 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
7 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
8 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
9 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
10 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
11 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
12 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
13 | Runtime error | 2 ms | 2384 KB | Execution failed because the return code was nonzero |
14 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
15 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
16 | Runtime error | 8 ms | 2384 KB | Execution failed because the return code was nonzero |
17 | Runtime error | 7 ms | 2596 KB | Execution failed because the return code was nonzero |
18 | Runtime error | 7 ms | 2384 KB | Execution failed because the return code was nonzero |
19 | Runtime error | 8 ms | 2384 KB | Execution failed because the return code was nonzero |
20 | Runtime error | 6 ms | 2384 KB | Execution failed because the return code was nonzero |
21 | Runtime error | 29 ms | 2688 KB | Execution failed because the return code was nonzero |
22 | Runtime error | 28 ms | 2640 KB | Execution failed because the return code was nonzero |
23 | Runtime error | 29 ms | 2812 KB | Execution failed because the return code was nonzero |
24 | Runtime error | 27 ms | 2640 KB | Execution failed because the return code was nonzero |
25 | Runtime error | 33 ms | 2640 KB | Execution failed because the return code was nonzero |
26 | Runtime error | 31 ms | 2640 KB | Execution failed because the return code was nonzero |
27 | Runtime error | 28 ms | 2728 KB | Execution failed because the return code was nonzero |
28 | Runtime error | 28 ms | 2868 KB | Execution failed because the return code was nonzero |
29 | Runtime error | 41 ms | 2812 KB | Execution failed because the return code was nonzero |
30 | Runtime error | 25 ms | 2632 KB | Execution failed because the return code was nonzero |
31 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |
32 | Runtime error | 1 ms | 2384 KB | Execution failed because the return code was nonzero |