답안 #20245

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
20245 2016-07-29T07:13:41 Z Angelos 게임 (IOI14_game) C++
100 / 100
413 ms 174 KB
#include "game.h"
#include <bits/stdc++.h>

void initialize(int n) {
// DO NOTHING!
}

int c[1500];
int hasEdge(int u, int v) {
    return ++c[u > v ? u : v] == (u > v ? u : v);
}
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 0 KB Output is correct
2 Correct 2 ms 0 KB Output is correct
3 Correct 1 ms 0 KB Output is correct
4 Correct 1 ms 0 KB Output is correct
5 Correct 1 ms 0 KB Output is correct
6 Correct 1 ms 0 KB Output is correct
7 Correct 2 ms 0 KB Output is correct
8 Correct 2 ms 0 KB Output is correct
9 Correct 2 ms 0 KB Output is correct
10 Correct 2 ms 0 KB Output is correct
11 Correct 2 ms 0 KB Output is correct
12 Correct 2 ms 0 KB Output is correct
13 Correct 2 ms 0 KB Output is correct
14 Correct 2 ms 0 KB Output is correct
15 Correct 2 ms 0 KB Output is correct
16 Correct 2 ms 0 KB Output is correct
17 Correct 2 ms 0 KB Output is correct
18 Correct 2 ms 0 KB Output is correct
19 Correct 2 ms 0 KB Output is correct
20 Correct 1 ms 0 KB Output is correct
21 Correct 2 ms 0 KB Output is correct
22 Correct 1 ms 0 KB Output is correct
23 Correct 1 ms 0 KB Output is correct
24 Correct 1 ms 0 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 0 KB Output is correct
2 Correct 2 ms 0 KB Output is correct
3 Correct 2 ms 0 KB Output is correct
4 Correct 1 ms 0 KB Output is correct
5 Correct 2 ms 0 KB Output is correct
6 Correct 2 ms 0 KB Output is correct
7 Correct 2 ms 0 KB Output is correct
8 Correct 2 ms 0 KB Output is correct
9 Correct 2 ms 0 KB Output is correct
10 Correct 2 ms 0 KB Output is correct
11 Correct 2 ms 0 KB Output is correct
12 Correct 2 ms 0 KB Output is correct
13 Correct 2 ms 0 KB Output is correct
14 Correct 2 ms 0 KB Output is correct
15 Correct 2 ms 0 KB Output is correct
16 Correct 2 ms 0 KB Output is correct
17 Correct 2 ms 0 KB Output is correct
18 Correct 2 ms 0 KB Output is correct
19 Correct 2 ms 0 KB Output is correct
20 Correct 2 ms 0 KB Output is correct
21 Correct 2 ms 0 KB Output is correct
22 Correct 2 ms 0 KB Output is correct
23 Correct 2 ms 0 KB Output is correct
24 Correct 1 ms 0 KB Output is correct
25 Correct 2 ms 0 KB Output is correct
26 Correct 2 ms 1 KB Output is correct
27 Correct 2 ms 1 KB Output is correct
28 Correct 2 ms 1 KB Output is correct
29 Correct 2 ms 1 KB Output is correct
30 Correct 2 ms 1 KB Output is correct
31 Correct 2 ms 1 KB Output is correct
32 Correct 2 ms 1 KB Output is correct
33 Correct 2 ms 1 KB Output is correct
34 Correct 2 ms 1 KB Output is correct
35 Correct 3 ms 1 KB Output is correct
36 Correct 2 ms 1 KB Output is correct
37 Correct 4 ms 1 KB Output is correct
38 Correct 2 ms 1 KB Output is correct
39 Correct 2 ms 1 KB Output is correct
40 Correct 2 ms 1 KB Output is correct
41 Correct 3 ms 1 KB Output is correct
42 Correct 3 ms 1 KB Output is correct
43 Correct 4 ms 1 KB Output is correct
44 Correct 2 ms 1 KB Output is correct
45 Correct 2 ms 1 KB Output is correct
46 Correct 2 ms 1 KB Output is correct
47 Correct 4 ms 1 KB Output is correct
48 Correct 2 ms 1 KB Output is correct
49 Correct 2 ms 1 KB Output is correct
50 Correct 2 ms 1 KB Output is correct
51 Correct 3 ms 1 KB Output is correct
52 Correct 3 ms 1 KB Output is correct
53 Correct 2 ms 1 KB Output is correct
54 Correct 3 ms 1 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 2 KB Output is correct
2 Correct 1 ms 2 KB Output is correct
3 Correct 1 ms 2 KB Output is correct
4 Correct 2 ms 2 KB Output is correct
5 Correct 2 ms 2 KB Output is correct
6 Correct 2 ms 2 KB Output is correct
7 Correct 1 ms 2 KB Output is correct
8 Correct 1 ms 2 KB Output is correct
9 Correct 1 ms 2 KB Output is correct
10 Correct 1 ms 2 KB Output is correct
11 Correct 1 ms 2 KB Output is correct
12 Correct 2 ms 2 KB Output is correct
13 Correct 2 ms 2 KB Output is correct
14 Correct 2 ms 2 KB Output is correct
15 Correct 1 ms 2 KB Output is correct
16 Correct 2 ms 2 KB Output is correct
17 Correct 1 ms 2 KB Output is correct
18 Correct 2 ms 2 KB Output is correct
19 Correct 2 ms 2 KB Output is correct
20 Correct 2 ms 2 KB Output is correct
21 Correct 2 ms 2 KB Output is correct
22 Correct 2 ms 2 KB Output is correct
23 Correct 1 ms 2 KB Output is correct
24 Correct 1 ms 2 KB Output is correct
25 Correct 2 ms 2 KB Output is correct
26 Correct 2 ms 2 KB Output is correct
27 Correct 2 ms 2 KB Output is correct
28 Correct 1 ms 2 KB Output is correct
29 Correct 2 ms 2 KB Output is correct
30 Correct 2 ms 2 KB Output is correct
31 Correct 2 ms 2 KB Output is correct
32 Correct 2 ms 2 KB Output is correct
33 Correct 2 ms 2 KB Output is correct
34 Correct 3 ms 2 KB Output is correct
35 Correct 2 ms 2 KB Output is correct
36 Correct 2 ms 2 KB Output is correct
37 Correct 2 ms 2 KB Output is correct
38 Correct 2 ms 2 KB Output is correct
39 Correct 2 ms 2 KB Output is correct
40 Correct 2 ms 2 KB Output is correct
41 Correct 2 ms 2 KB Output is correct
42 Correct 2 ms 2 KB Output is correct
43 Correct 3 ms 2 KB Output is correct
44 Correct 3 ms 2 KB Output is correct
45 Correct 3 ms 2 KB Output is correct
46 Correct 2 ms 2 KB Output is correct
47 Correct 2 ms 2 KB Output is correct
48 Correct 2 ms 2 KB Output is correct
49 Correct 3 ms 2 KB Output is correct
50 Correct 3 ms 2 KB Output is correct
51 Correct 2 ms 2 KB Output is correct
52 Correct 2 ms 2 KB Output is correct
53 Correct 2 ms 2 KB Output is correct
54 Correct 2 ms 2 KB Output is correct
55 Correct 43 ms 4 KB Output is correct
56 Correct 44 ms 9 KB Output is correct
57 Correct 41 ms 10 KB Output is correct
58 Correct 42 ms 11 KB Output is correct
59 Correct 41 ms 12 KB Output is correct
60 Correct 41 ms 14 KB Output is correct
61 Correct 45 ms 15 KB Output is correct
62 Correct 43 ms 16 KB Output is correct
63 Correct 42 ms 17 KB Output is correct
64 Correct 40 ms 19 KB Output is correct
65 Correct 40 ms 20 KB Output is correct
66 Correct 42 ms 21 KB Output is correct
67 Correct 42 ms 22 KB Output is correct
68 Correct 42 ms 23 KB Output is correct
69 Correct 68 ms 24 KB Output is correct
70 Correct 41 ms 26 KB Output is correct
71 Correct 42 ms 27 KB Output is correct
72 Correct 41 ms 28 KB Output is correct
73 Correct 41 ms 29 KB Output is correct
74 Correct 42 ms 31 KB Output is correct
75 Correct 58 ms 32 KB Output is correct
76 Correct 96 ms 33 KB Output is correct
77 Correct 94 ms 39 KB Output is correct
78 Correct 141 ms 42 KB Output is correct
79 Correct 118 ms 44 KB Output is correct
80 Correct 139 ms 47 KB Output is correct
81 Correct 94 ms 50 KB Output is correct
82 Correct 94 ms 53 KB Output is correct
83 Correct 95 ms 56 KB Output is correct
84 Correct 94 ms 58 KB Output is correct
85 Correct 165 ms 61 KB Output is correct
86 Correct 169 ms 69 KB Output is correct
87 Correct 181 ms 74 KB Output is correct
88 Correct 164 ms 79 KB Output is correct
89 Correct 175 ms 84 KB Output is correct
90 Correct 165 ms 89 KB Output is correct
91 Correct 177 ms 94 KB Output is correct
92 Correct 173 ms 99 KB Output is correct
93 Correct 175 ms 104 KB Output is correct
94 Correct 378 ms 113 KB Output is correct
95 Correct 381 ms 123 KB Output is correct
96 Correct 377 ms 133 KB Output is correct
97 Correct 382 ms 144 KB Output is correct
98 Correct 413 ms 154 KB Output is correct
99 Correct 384 ms 164 KB Output is correct
100 Correct 397 ms 174 KB Output is correct