답안 #106939

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
106939 2019-04-21T09:33:00 Z maksim_gaponov Gap (APIO16_gap) C++14
0 / 100
77 ms 2052 KB
#include "gap.h"
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define int ll

const int MAX = 1e18;

int findGap(signed T, signed N) {
	int l = 0;
	int r = MAX;
	MinMax(l, r, &l, &r);
	int ans = 0;
	while (r != l) {
		int nr;
		MinMax(l, r - 1, &l, &nr);
		ans = max(ans, r - nr);
		r = nr;
	}
	return ans;
}
# 결과 실행 시간 메모리 Grader output
1 Incorrect 2 ms 384 KB Output isn't correct
2 Incorrect 2 ms 384 KB Output isn't correct
3 Incorrect 2 ms 384 KB Output isn't correct
4 Incorrect 2 ms 384 KB Output isn't correct
5 Incorrect 2 ms 384 KB Output isn't correct
6 Incorrect 2 ms 384 KB Output isn't correct
7 Incorrect 2 ms 384 KB Output isn't correct
8 Incorrect 2 ms 384 KB Output isn't correct
9 Incorrect 2 ms 384 KB Output isn't correct
10 Incorrect 2 ms 384 KB Output isn't correct
11 Incorrect 4 ms 384 KB Output isn't correct
12 Incorrect 3 ms 384 KB Output isn't correct
13 Incorrect 3 ms 384 KB Output isn't correct
14 Incorrect 3 ms 384 KB Output isn't correct
15 Incorrect 2 ms 384 KB Output isn't correct
16 Incorrect 15 ms 896 KB Output isn't correct
17 Incorrect 19 ms 928 KB Output isn't correct
18 Incorrect 21 ms 896 KB Output isn't correct
19 Incorrect 18 ms 884 KB Output isn't correct
20 Incorrect 13 ms 640 KB Output isn't correct
21 Incorrect 58 ms 1912 KB Output isn't correct
22 Incorrect 57 ms 1988 KB Output isn't correct
23 Incorrect 77 ms 1916 KB Output isn't correct
24 Incorrect 65 ms 1944 KB Output isn't correct
25 Incorrect 55 ms 2012 KB Output isn't correct
26 Incorrect 59 ms 2040 KB Output isn't correct
27 Incorrect 59 ms 1908 KB Output isn't correct
28 Incorrect 58 ms 1912 KB Output isn't correct
29 Incorrect 60 ms 1852 KB Output isn't correct
30 Incorrect 45 ms 1656 KB Output isn't correct
31 Incorrect 3 ms 384 KB Output isn't correct
32 Incorrect 2 ms 384 KB Output isn't correct
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 384 KB Output is correct
2 Partially correct 3 ms 384 KB Partially correct
3 Partially correct 2 ms 384 KB Partially correct
4 Partially correct 3 ms 384 KB Partially correct
5 Partially correct 2 ms 384 KB Partially correct
6 Partially correct 3 ms 384 KB Partially correct
7 Partially correct 3 ms 384 KB Partially correct
8 Partially correct 2 ms 384 KB Partially correct
9 Partially correct 3 ms 384 KB Partially correct
10 Partially correct 3 ms 256 KB Partially correct
11 Partially correct 3 ms 384 KB Partially correct
12 Partially correct 3 ms 384 KB Partially correct
13 Partially correct 3 ms 384 KB Partially correct
14 Partially correct 3 ms 384 KB Partially correct
15 Partially correct 3 ms 384 KB Partially correct
16 Partially correct 12 ms 888 KB Partially correct
17 Partially correct 16 ms 1024 KB Partially correct
18 Partially correct 15 ms 896 KB Partially correct
19 Partially correct 17 ms 896 KB Partially correct
20 Partially correct 13 ms 640 KB Partially correct
21 Incorrect 68 ms 2040 KB Expected int32, but "5000150000" found
22 Incorrect 73 ms 1916 KB Expected int32, but "5000150000" found
23 Incorrect 59 ms 1944 KB Expected int32, but "5000150000" found
24 Incorrect 54 ms 1912 KB Expected int32, but "5000150000" found
25 Incorrect 54 ms 1884 KB Expected int32, but "5000150000" found
26 Incorrect 60 ms 1912 KB Expected int32, but "5000150000" found
27 Incorrect 60 ms 1916 KB Expected int32, but "5000150000" found
28 Incorrect 75 ms 2052 KB Expected int32, but "5000150000" found
29 Incorrect 60 ms 1960 KB Expected int32, but "5000150000" found
30 Incorrect 46 ms 1744 KB Expected int32, but "5000150000" found
31 Partially correct 3 ms 384 KB Partially correct
32 Partially correct 3 ms 384 KB Partially correct