# |
Submission time |
Handle |
Problem |
Language |
Result |
Execution time |
Memory |
69145 |
2018-08-20T07:45:10 Z |
FedericoS |
Gap (APIO16_gap) |
C++14 |
|
92 ms |
40548 KB |
#include "gap.h"
#include <vector>
#include <iostream>
using namespace std;
typedef long long int ll;
ll x,y;
vector<ll> V;
long long findGap(int T, int N)
{
for(int i=0;i<N;i++){
MinMax(x,1e18,&x,&y);
V.push_back(x);
x++;
}
x=0;
for(int i=0;i<N-1;i++)
x=max(x,V[i+1]-V[i]);
return x;
}
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Incorrect |
4 ms |
376 KB |
Output isn't correct |
2 |
Incorrect |
3 ms |
376 KB |
Output isn't correct |
3 |
Incorrect |
3 ms |
608 KB |
Output isn't correct |
4 |
Incorrect |
2 ms |
608 KB |
Output isn't correct |
5 |
Incorrect |
2 ms |
652 KB |
Output isn't correct |
6 |
Incorrect |
2 ms |
696 KB |
Output isn't correct |
7 |
Incorrect |
2 ms |
696 KB |
Output isn't correct |
8 |
Incorrect |
2 ms |
696 KB |
Output isn't correct |
9 |
Incorrect |
2 ms |
760 KB |
Output isn't correct |
10 |
Incorrect |
2 ms |
764 KB |
Output isn't correct |
11 |
Incorrect |
5 ms |
764 KB |
Output isn't correct |
12 |
Incorrect |
4 ms |
820 KB |
Output isn't correct |
13 |
Incorrect |
3 ms |
888 KB |
Output isn't correct |
14 |
Incorrect |
5 ms |
932 KB |
Output isn't correct |
15 |
Incorrect |
3 ms |
932 KB |
Output isn't correct |
16 |
Incorrect |
20 ms |
2068 KB |
Output isn't correct |
17 |
Incorrect |
19 ms |
2548 KB |
Output isn't correct |
18 |
Incorrect |
21 ms |
2884 KB |
Output isn't correct |
19 |
Incorrect |
17 ms |
3348 KB |
Output isn't correct |
20 |
Incorrect |
19 ms |
3428 KB |
Output isn't correct |
21 |
Incorrect |
70 ms |
6708 KB |
Output isn't correct |
22 |
Incorrect |
71 ms |
8560 KB |
Output isn't correct |
23 |
Incorrect |
71 ms |
10352 KB |
Output isn't correct |
24 |
Incorrect |
66 ms |
12196 KB |
Output isn't correct |
25 |
Incorrect |
68 ms |
13404 KB |
Output isn't correct |
26 |
Incorrect |
69 ms |
15256 KB |
Output isn't correct |
27 |
Incorrect |
69 ms |
17112 KB |
Output isn't correct |
28 |
Incorrect |
66 ms |
18948 KB |
Output isn't correct |
29 |
Incorrect |
75 ms |
20804 KB |
Output isn't correct |
30 |
Incorrect |
60 ms |
21496 KB |
Output isn't correct |
31 |
Incorrect |
2 ms |
21496 KB |
Output isn't correct |
32 |
Incorrect |
4 ms |
21496 KB |
Output isn't correct |
# |
Verdict |
Execution time |
Memory |
Grader output |
1 |
Correct |
4 ms |
21496 KB |
Output is correct |
2 |
Partially correct |
2 ms |
21496 KB |
Partially correct |
3 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
4 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
5 |
Partially correct |
4 ms |
21496 KB |
Partially correct |
6 |
Partially correct |
2 ms |
21496 KB |
Partially correct |
7 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
8 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
9 |
Partially correct |
2 ms |
21496 KB |
Partially correct |
10 |
Partially correct |
2 ms |
21496 KB |
Partially correct |
11 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
12 |
Partially correct |
4 ms |
21496 KB |
Partially correct |
13 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
14 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
15 |
Partially correct |
3 ms |
21496 KB |
Partially correct |
16 |
Partially correct |
19 ms |
21496 KB |
Partially correct |
17 |
Partially correct |
18 ms |
21496 KB |
Partially correct |
18 |
Partially correct |
18 ms |
21776 KB |
Partially correct |
19 |
Partially correct |
19 ms |
22248 KB |
Partially correct |
20 |
Partially correct |
16 ms |
22320 KB |
Partially correct |
21 |
Incorrect |
65 ms |
25600 KB |
Expected int32, but "5000150000" found |
22 |
Incorrect |
66 ms |
27396 KB |
Expected int32, but "5000150000" found |
23 |
Incorrect |
65 ms |
29240 KB |
Expected int32, but "5000150000" found |
24 |
Incorrect |
75 ms |
31088 KB |
Expected int32, but "5000150000" found |
25 |
Incorrect |
59 ms |
32292 KB |
Expected int32, but "5000150000" found |
26 |
Incorrect |
66 ms |
34164 KB |
Expected int32, but "5000150000" found |
27 |
Incorrect |
92 ms |
36100 KB |
Expected int32, but "5000150000" found |
28 |
Incorrect |
68 ms |
37884 KB |
Expected int32, but "5000150000" found |
29 |
Incorrect |
72 ms |
39728 KB |
Expected int32, but "5000150000" found |
30 |
Incorrect |
51 ms |
40548 KB |
Expected int32, but "5000150000" found |
31 |
Partially correct |
2 ms |
40548 KB |
Partially correct |
32 |
Partially correct |
2 ms |
40548 KB |
Partially correct |