# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
311998 | 2020-10-12T06:07:49 Z | anakib1 | Detecting Molecules (IOI16_molecules) | C++17 | 1000 ms | 25208 KB |
//나는 가상 소녀들에게 큰 호감이 있습니다. #include <iostream> #include <cmath> #include <algorithm> #include <stdio.h> #include <cstring> #include <string> #include <cstdlib> #include <vector> #include <bitset> #include <map> #include <chrono> #include <functional> #include <unordered_set> #include <unordered_map> #include <numeric> #include <queue> #include <ctime> #include <stack> #include <set> #include <list> #include <deque> #include <iomanip> #include <sstream> #include <fstream> #include <stdarg.h> #include <utility> using namespace std; #define pb push_back #define mp make_pair #define ll long long #define ull unisgned long long #define ld long double #define all(a) a.begin(), a.end() #define SORT(a) sort(all(a)) #define pii pair<int, int> #define tii triple<int, int, int> #define e 1e-7 #define PI acos(-1) #define sz(a) (int)(a.size()) #define inf 1e17 #define vi vector<int> #define F first #define S second #define rng(x) for(int _ = 0; _ < (x); _++) #define rngi(i, x) for(int i = 0; i < (x); i++) #define rngsi(s, i, x) for(int i = (s); i <(x); i++) #define problem "a" template<typename A, typename B, typename C> struct triple { A X; B Y; C Z; triple(A a = 0, B b = 0, C c = 0) :X(a), Y(b), Z(c) {} }; template<typename A, typename B, typename C> triple<A, B, C> make_triple(A a = 0, B b = 0, C c = 0) { return triple<A, B, C>(a, b, c); } template<typename A, typename B, typename C> bool operator<(const triple<A, B, C>& a, const triple<A, B, C>& b) { if (a.X != b.X) return a.X < b.X; if (a.Y != b.Y) return a.Y < b.Y; return a.Z < b.Z; } template<typename T, typename SS> ostream& operator<<(ostream& ofs, const pair<T, SS>& p) { ofs << "( " << p.F << " , " << p.S << " )"; return ofs; } template<typename T> void print(T a) { for (auto i : a) cout << i << ' '; cout << '\n'; } template<typename T> T max(T a, T b, T c) { return max(a, max(b, c)); } template<typename T> T min(T a, T b, T c) { return min(a, min(b, c)); } template<typename T, typename D> D min(T a) { return *min_element(all(a)); } template<typename T, typename D> D max(T a) { return *max_element(all(a)); } struct custom_hash { static uint64_t splitmix64(uint64_t x) { x += 0x9e3779b97f4a7c15; x = (x ^ (x >> 30)) * 0xbf58476d1ce4e5b9; x = (x ^ (x >> 27)) * 0x94d049bb133111eb; return x ^ (x >> 31); } size_t operator()(uint64_t x) const { static const uint64_t FIXED_RANDOM = chrono::steady_clock::now().time_since_epoch().count(); return splitmix64(x + FIXED_RANDOM); } }; std::vector<int> find_subset(int l, int u, std::vector<int> w) { int n = sz(w); vector<bitset<10001> > buf(n + 1), p(n + 1); buf[0][0] = 1; rngi(i, n) { buf[i + 1] = buf[i]; for (int j = 0; j + w[i] <= u; j++) if (buf[i][j]){ buf[i + 1][j + w[i]] = 1; p[i + 1][j + w[i]] = 1; } } for (int i = l; i <= u; i++) if (buf[n][i]) { vi ans; int x = i, j = n; while (x) { if (p[j][x]) { ans.push_back(j - 1); x -= w[j - 1]; } j--; } reverse(all(ans)); return ans; } return vi(); }
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 256 KB | OK (n = 1, answer = NO) |
2 | Correct | 0 ms | 256 KB | OK (n = 1, answer = NO) |
3 | Correct | 1 ms | 256 KB | OK (n = 1, answer = YES) |
4 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
5 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
6 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
7 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
8 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
9 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
10 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
11 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
12 | Correct | 0 ms | 384 KB | OK (n = 3, answer = YES) |
13 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
14 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
15 | Correct | 1 ms | 384 KB | OK (n = 3, answer = YES) |
16 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
17 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
18 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
19 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
2 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
3 | Correct | 1 ms | 384 KB | OK (n = 12, answer = NO) |
4 | Correct | 0 ms | 384 KB | OK (n = 12, answer = NO) |
5 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
6 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
7 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
8 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
9 | Correct | 1 ms | 384 KB | OK (n = 6, answer = YES) |
10 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
11 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
12 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
13 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
14 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
15 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
16 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
17 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 256 KB | OK (n = 1, answer = NO) |
2 | Correct | 0 ms | 256 KB | OK (n = 1, answer = NO) |
3 | Correct | 1 ms | 256 KB | OK (n = 1, answer = YES) |
4 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
5 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
6 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
7 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
8 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
9 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
10 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
11 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
12 | Correct | 0 ms | 384 KB | OK (n = 3, answer = YES) |
13 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
14 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
15 | Correct | 1 ms | 384 KB | OK (n = 3, answer = YES) |
16 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
17 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
18 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
19 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
20 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
21 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
22 | Correct | 1 ms | 384 KB | OK (n = 12, answer = NO) |
23 | Correct | 0 ms | 384 KB | OK (n = 12, answer = NO) |
24 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
25 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
26 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
27 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
28 | Correct | 1 ms | 384 KB | OK (n = 6, answer = YES) |
29 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
30 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
31 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
32 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
33 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
34 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
35 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
36 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
37 | Correct | 0 ms | 384 KB | OK (n = 28, answer = YES) |
38 | Correct | 1 ms | 384 KB | OK (n = 27, answer = YES) |
39 | Correct | 1 ms | 512 KB | OK (n = 90, answer = YES) |
40 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
41 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
42 | Correct | 0 ms | 384 KB | OK (n = 10, answer = YES) |
43 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
44 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
45 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
46 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
47 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
48 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
49 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
50 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
51 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
52 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
53 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
54 | Correct | 1 ms | 564 KB | OK (n = 100, answer = YES) |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 256 KB | OK (n = 1, answer = NO) |
2 | Correct | 0 ms | 256 KB | OK (n = 1, answer = NO) |
3 | Correct | 1 ms | 256 KB | OK (n = 1, answer = YES) |
4 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
5 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
6 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
7 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
8 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
9 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
10 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
11 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
12 | Correct | 0 ms | 384 KB | OK (n = 3, answer = YES) |
13 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
14 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
15 | Correct | 1 ms | 384 KB | OK (n = 3, answer = YES) |
16 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
17 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
18 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
19 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
20 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
21 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
22 | Correct | 1 ms | 384 KB | OK (n = 12, answer = NO) |
23 | Correct | 0 ms | 384 KB | OK (n = 12, answer = NO) |
24 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
25 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
26 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
27 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
28 | Correct | 1 ms | 384 KB | OK (n = 6, answer = YES) |
29 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
30 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
31 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
32 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
33 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
34 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
35 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
36 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
37 | Correct | 0 ms | 384 KB | OK (n = 28, answer = YES) |
38 | Correct | 1 ms | 384 KB | OK (n = 27, answer = YES) |
39 | Correct | 1 ms | 512 KB | OK (n = 90, answer = YES) |
40 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
41 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
42 | Correct | 0 ms | 384 KB | OK (n = 10, answer = YES) |
43 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
44 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
45 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
46 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
47 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
48 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
49 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
50 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
51 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
52 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
53 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
54 | Correct | 1 ms | 564 KB | OK (n = 100, answer = YES) |
55 | Correct | 636 ms | 25068 KB | OK (n = 10000, answer = YES) |
56 | Correct | 613 ms | 25088 KB | OK (n = 10000, answer = YES) |
57 | Correct | 125 ms | 25208 KB | OK (n = 10000, answer = YES) |
58 | Correct | 126 ms | 25088 KB | OK (n = 10000, answer = YES) |
59 | Correct | 640 ms | 25064 KB | OK (n = 10000, answer = YES) |
60 | Correct | 63 ms | 25088 KB | OK (n = 10000, answer = YES) |
61 | Correct | 62 ms | 25088 KB | OK (n = 10000, answer = NO) |
62 | Correct | 494 ms | 25088 KB | OK (n = 10000, answer = YES) |
63 | Correct | 19 ms | 25088 KB | OK (n = 10000, answer = NO) |
64 | Correct | 636 ms | 25076 KB | OK (n = 10000, answer = YES) |
65 | Correct | 635 ms | 25208 KB | OK (n = 10000, answer = YES) |
66 | Correct | 452 ms | 25080 KB | OK (n = 10000, answer = YES) |
67 | Correct | 37 ms | 24960 KB | OK (n = 10000, answer = YES) |
68 | Correct | 31 ms | 24952 KB | OK (n = 10000, answer = YES) |
69 | Correct | 156 ms | 24960 KB | OK (n = 10000, answer = YES) |
70 | Correct | 162 ms | 25080 KB | OK (n = 10000, answer = YES) |
71 | Correct | 160 ms | 24960 KB | OK (n = 10000, answer = YES) |
72 | Correct | 25 ms | 2432 KB | OK (n = 865, answer = YES) |
73 | Correct | 22 ms | 2304 KB | OK (n = 820, answer = YES) |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 256 KB | OK (n = 1, answer = NO) |
2 | Correct | 0 ms | 256 KB | OK (n = 1, answer = NO) |
3 | Correct | 1 ms | 256 KB | OK (n = 1, answer = YES) |
4 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
5 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
6 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
7 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
8 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
9 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
10 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
11 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
12 | Correct | 0 ms | 384 KB | OK (n = 3, answer = YES) |
13 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
14 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
15 | Correct | 1 ms | 384 KB | OK (n = 3, answer = YES) |
16 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
17 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
18 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
19 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
20 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
21 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
22 | Correct | 1 ms | 384 KB | OK (n = 12, answer = NO) |
23 | Correct | 0 ms | 384 KB | OK (n = 12, answer = NO) |
24 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
25 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
26 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
27 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
28 | Correct | 1 ms | 384 KB | OK (n = 6, answer = YES) |
29 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
30 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
31 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
32 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
33 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
34 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
35 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
36 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
37 | Correct | 0 ms | 384 KB | OK (n = 28, answer = YES) |
38 | Correct | 1 ms | 384 KB | OK (n = 27, answer = YES) |
39 | Correct | 1 ms | 512 KB | OK (n = 90, answer = YES) |
40 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
41 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
42 | Correct | 0 ms | 384 KB | OK (n = 10, answer = YES) |
43 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
44 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
45 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
46 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
47 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
48 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
49 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
50 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
51 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
52 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
53 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
54 | Correct | 1 ms | 564 KB | OK (n = 100, answer = YES) |
55 | Correct | 636 ms | 25068 KB | OK (n = 10000, answer = YES) |
56 | Correct | 613 ms | 25088 KB | OK (n = 10000, answer = YES) |
57 | Correct | 125 ms | 25208 KB | OK (n = 10000, answer = YES) |
58 | Correct | 126 ms | 25088 KB | OK (n = 10000, answer = YES) |
59 | Correct | 640 ms | 25064 KB | OK (n = 10000, answer = YES) |
60 | Correct | 63 ms | 25088 KB | OK (n = 10000, answer = YES) |
61 | Correct | 62 ms | 25088 KB | OK (n = 10000, answer = NO) |
62 | Correct | 494 ms | 25088 KB | OK (n = 10000, answer = YES) |
63 | Correct | 19 ms | 25088 KB | OK (n = 10000, answer = NO) |
64 | Correct | 636 ms | 25076 KB | OK (n = 10000, answer = YES) |
65 | Correct | 635 ms | 25208 KB | OK (n = 10000, answer = YES) |
66 | Correct | 452 ms | 25080 KB | OK (n = 10000, answer = YES) |
67 | Correct | 37 ms | 24960 KB | OK (n = 10000, answer = YES) |
68 | Correct | 31 ms | 24952 KB | OK (n = 10000, answer = YES) |
69 | Correct | 156 ms | 24960 KB | OK (n = 10000, answer = YES) |
70 | Correct | 162 ms | 25080 KB | OK (n = 10000, answer = YES) |
71 | Correct | 160 ms | 24960 KB | OK (n = 10000, answer = YES) |
72 | Correct | 25 ms | 2432 KB | OK (n = 865, answer = YES) |
73 | Correct | 22 ms | 2304 KB | OK (n = 820, answer = YES) |
74 | Execution timed out | 1081 ms | 18816 KB | Time limit exceeded |
75 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 256 KB | OK (n = 1, answer = NO) |
2 | Correct | 0 ms | 256 KB | OK (n = 1, answer = NO) |
3 | Correct | 1 ms | 256 KB | OK (n = 1, answer = YES) |
4 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
5 | Correct | 0 ms | 256 KB | OK (n = 2, answer = YES) |
6 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
7 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
8 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
9 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
10 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
11 | Correct | 1 ms | 256 KB | OK (n = 3, answer = YES) |
12 | Correct | 0 ms | 384 KB | OK (n = 3, answer = YES) |
13 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
14 | Correct | 0 ms | 256 KB | OK (n = 3, answer = YES) |
15 | Correct | 1 ms | 384 KB | OK (n = 3, answer = YES) |
16 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
17 | Correct | 0 ms | 256 KB | OK (n = 3, answer = NO) |
18 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
19 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
20 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
21 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
22 | Correct | 1 ms | 384 KB | OK (n = 12, answer = NO) |
23 | Correct | 0 ms | 384 KB | OK (n = 12, answer = NO) |
24 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
25 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
26 | Correct | 1 ms | 384 KB | OK (n = 12, answer = YES) |
27 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
28 | Correct | 1 ms | 384 KB | OK (n = 6, answer = YES) |
29 | Correct | 0 ms | 384 KB | OK (n = 12, answer = YES) |
30 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
31 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
32 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
33 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
34 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
35 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
36 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
37 | Correct | 0 ms | 384 KB | OK (n = 28, answer = YES) |
38 | Correct | 1 ms | 384 KB | OK (n = 27, answer = YES) |
39 | Correct | 1 ms | 512 KB | OK (n = 90, answer = YES) |
40 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
41 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
42 | Correct | 0 ms | 384 KB | OK (n = 10, answer = YES) |
43 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
44 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
45 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
46 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
47 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
48 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
49 | Correct | 1 ms | 512 KB | OK (n = 100, answer = NO) |
50 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
51 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
52 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
53 | Correct | 1 ms | 512 KB | OK (n = 100, answer = YES) |
54 | Correct | 1 ms | 564 KB | OK (n = 100, answer = YES) |
55 | Correct | 636 ms | 25068 KB | OK (n = 10000, answer = YES) |
56 | Correct | 613 ms | 25088 KB | OK (n = 10000, answer = YES) |
57 | Correct | 125 ms | 25208 KB | OK (n = 10000, answer = YES) |
58 | Correct | 126 ms | 25088 KB | OK (n = 10000, answer = YES) |
59 | Correct | 640 ms | 25064 KB | OK (n = 10000, answer = YES) |
60 | Correct | 63 ms | 25088 KB | OK (n = 10000, answer = YES) |
61 | Correct | 62 ms | 25088 KB | OK (n = 10000, answer = NO) |
62 | Correct | 494 ms | 25088 KB | OK (n = 10000, answer = YES) |
63 | Correct | 19 ms | 25088 KB | OK (n = 10000, answer = NO) |
64 | Correct | 636 ms | 25076 KB | OK (n = 10000, answer = YES) |
65 | Correct | 635 ms | 25208 KB | OK (n = 10000, answer = YES) |
66 | Correct | 452 ms | 25080 KB | OK (n = 10000, answer = YES) |
67 | Correct | 37 ms | 24960 KB | OK (n = 10000, answer = YES) |
68 | Correct | 31 ms | 24952 KB | OK (n = 10000, answer = YES) |
69 | Correct | 156 ms | 24960 KB | OK (n = 10000, answer = YES) |
70 | Correct | 162 ms | 25080 KB | OK (n = 10000, answer = YES) |
71 | Correct | 160 ms | 24960 KB | OK (n = 10000, answer = YES) |
72 | Correct | 25 ms | 2432 KB | OK (n = 865, answer = YES) |
73 | Correct | 22 ms | 2304 KB | OK (n = 820, answer = YES) |
74 | Execution timed out | 1081 ms | 18816 KB | Time limit exceeded |
75 | Halted | 0 ms | 0 KB | - |