# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
405236 |
2021-05-16T03:12:46 Z |
enerelt14 |
Gap (APIO16_gap) |
C++14 |
|
45 ms |
2636 KB |
#include<bits/stdc++.h>
#include"gap.h"
using namespace std;
long long findGap(int T,int N){
long long l[N], r[N], res=0;
MinMax(0, 1e18, &l[1], &r[1]);
for (int i=2;i<=(N+1)/2;i++){
MinMax(l[i-1], r[i-1], &l[i], &r[i]);
res=max(res, max(l[i]-l[i-1], r[i-1]-r[i]));
}
return res;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
4 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
5 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
6 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
7 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
8 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
9 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
10 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
11 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
12 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
13 |
Incorrect |
2 ms |
328 KB |
Output isn't correct |
14 |
Incorrect |
2 ms |
328 KB |
Output isn't correct |
15 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
16 |
Incorrect |
10 ms |
840 KB |
Output isn't correct |
17 |
Incorrect |
11 ms |
840 KB |
Output isn't correct |
18 |
Incorrect |
9 ms |
836 KB |
Output isn't correct |
19 |
Incorrect |
9 ms |
796 KB |
Output isn't correct |
20 |
Incorrect |
6 ms |
840 KB |
Output isn't correct |
21 |
Incorrect |
38 ms |
2576 KB |
Output isn't correct |
22 |
Incorrect |
40 ms |
2608 KB |
Output isn't correct |
23 |
Incorrect |
45 ms |
2580 KB |
Output isn't correct |
24 |
Incorrect |
32 ms |
2588 KB |
Output isn't correct |
25 |
Incorrect |
34 ms |
2604 KB |
Output isn't correct |
26 |
Incorrect |
34 ms |
2560 KB |
Output isn't correct |
27 |
Incorrect |
40 ms |
2584 KB |
Output isn't correct |
28 |
Incorrect |
33 ms |
2588 KB |
Output isn't correct |
29 |
Incorrect |
33 ms |
2632 KB |
Output isn't correct |
30 |
Incorrect |
25 ms |
2544 KB |
Output isn't correct |
31 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
32 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
2 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
3 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
4 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
5 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
6 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
7 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
8 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
9 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
10 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
11 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
12 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
13 |
Incorrect |
2 ms |
328 KB |
Output isn't correct |
14 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
15 |
Incorrect |
1 ms |
328 KB |
Output isn't correct |
16 |
Incorrect |
10 ms |
832 KB |
Output isn't correct |
17 |
Incorrect |
11 ms |
828 KB |
Output isn't correct |
18 |
Incorrect |
9 ms |
804 KB |
Output isn't correct |
19 |
Incorrect |
8 ms |
880 KB |
Output isn't correct |
20 |
Incorrect |
7 ms |
840 KB |
Output isn't correct |
21 |
Incorrect |
34 ms |
2624 KB |
Expected int32, but "5000050000" found |
22 |
Incorrect |
33 ms |
2576 KB |
Expected int32, but "5000050000" found |
23 |
Incorrect |
32 ms |
2624 KB |
Expected int32, but "5000050000" found |
24 |
Incorrect |
35 ms |
2620 KB |
Expected int32, but "5000050000" found |
25 |
Incorrect |
29 ms |
2624 KB |
Expected int32, but "5000050000" found |
26 |
Incorrect |
38 ms |
2576 KB |
Expected int32, but "5000050000" found |
27 |
Incorrect |
36 ms |
2588 KB |
Expected int32, but "5000050000" found |
28 |
Incorrect |
37 ms |
2636 KB |
Expected int32, but "5000050000" found |
29 |
Incorrect |
32 ms |
2536 KB |
Expected int32, but "5000050000" found |
30 |
Incorrect |
28 ms |
2572 KB |
Expected int32, but "5000050000" found |
31 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |
32 |
Incorrect |
1 ms |
200 KB |
Output isn't correct |