답안 #64882

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
64882 2018-08-06T03:30:58 Z MatheusLealV 게임 (IOI14_game) C++17
100 / 100
597 ms 151280 KB
#include "game.h"
#include <bits/stdc++.h>

using namespace std;

void initialize(int n)
{

}

int resta[1500];

int hasEdge(int u, int v)
{
	if(++resta[max(u, v)] == max(u, v)) return 1;

    return 0;
}
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 248 KB Output is correct
2 Correct 3 ms 356 KB Output is correct
3 Correct 2 ms 432 KB Output is correct
4 Correct 2 ms 432 KB Output is correct
5 Correct 3 ms 432 KB Output is correct
6 Correct 3 ms 432 KB Output is correct
7 Correct 2 ms 508 KB Output is correct
8 Correct 3 ms 636 KB Output is correct
9 Correct 3 ms 636 KB Output is correct
10 Correct 2 ms 636 KB Output is correct
11 Correct 3 ms 636 KB Output is correct
12 Correct 3 ms 636 KB Output is correct
13 Correct 2 ms 636 KB Output is correct
14 Correct 2 ms 636 KB Output is correct
15 Correct 3 ms 636 KB Output is correct
16 Correct 2 ms 636 KB Output is correct
17 Correct 2 ms 636 KB Output is correct
18 Correct 3 ms 636 KB Output is correct
19 Correct 3 ms 636 KB Output is correct
20 Correct 2 ms 636 KB Output is correct
21 Correct 3 ms 636 KB Output is correct
22 Correct 2 ms 636 KB Output is correct
23 Correct 2 ms 636 KB Output is correct
24 Correct 2 ms 636 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 636 KB Output is correct
2 Correct 2 ms 636 KB Output is correct
3 Correct 2 ms 636 KB Output is correct
4 Correct 2 ms 636 KB Output is correct
5 Correct 3 ms 636 KB Output is correct
6 Correct 3 ms 636 KB Output is correct
7 Correct 2 ms 636 KB Output is correct
8 Correct 2 ms 636 KB Output is correct
9 Correct 3 ms 636 KB Output is correct
10 Correct 2 ms 636 KB Output is correct
11 Correct 2 ms 636 KB Output is correct
12 Correct 3 ms 636 KB Output is correct
13 Correct 3 ms 636 KB Output is correct
14 Correct 3 ms 636 KB Output is correct
15 Correct 3 ms 636 KB Output is correct
16 Correct 2 ms 636 KB Output is correct
17 Correct 3 ms 636 KB Output is correct
18 Correct 2 ms 636 KB Output is correct
19 Correct 2 ms 636 KB Output is correct
20 Correct 2 ms 636 KB Output is correct
21 Correct 3 ms 636 KB Output is correct
22 Correct 2 ms 636 KB Output is correct
23 Correct 2 ms 636 KB Output is correct
24 Correct 2 ms 636 KB Output is correct
25 Correct 2 ms 636 KB Output is correct
26 Correct 3 ms 636 KB Output is correct
27 Correct 4 ms 636 KB Output is correct
28 Correct 3 ms 772 KB Output is correct
29 Correct 2 ms 772 KB Output is correct
30 Correct 2 ms 772 KB Output is correct
31 Correct 3 ms 772 KB Output is correct
32 Correct 3 ms 772 KB Output is correct
33 Correct 3 ms 772 KB Output is correct
34 Correct 4 ms 772 KB Output is correct
35 Correct 4 ms 772 KB Output is correct
36 Correct 5 ms 804 KB Output is correct
37 Correct 4 ms 828 KB Output is correct
38 Correct 5 ms 844 KB Output is correct
39 Correct 3 ms 864 KB Output is correct
40 Correct 4 ms 864 KB Output is correct
41 Correct 5 ms 864 KB Output is correct
42 Correct 6 ms 1072 KB Output is correct
43 Correct 4 ms 1072 KB Output is correct
44 Correct 5 ms 1072 KB Output is correct
45 Correct 5 ms 1072 KB Output is correct
46 Correct 5 ms 1072 KB Output is correct
47 Correct 4 ms 1072 KB Output is correct
48 Correct 3 ms 1072 KB Output is correct
49 Correct 4 ms 1080 KB Output is correct
50 Correct 5 ms 1080 KB Output is correct
51 Correct 4 ms 1120 KB Output is correct
52 Correct 4 ms 1232 KB Output is correct
53 Correct 4 ms 1232 KB Output is correct
54 Correct 4 ms 1232 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 2 ms 1232 KB Output is correct
2 Correct 2 ms 1252 KB Output is correct
3 Correct 3 ms 1252 KB Output is correct
4 Correct 2 ms 1252 KB Output is correct
5 Correct 2 ms 1252 KB Output is correct
6 Correct 2 ms 1252 KB Output is correct
7 Correct 3 ms 1252 KB Output is correct
8 Correct 2 ms 1252 KB Output is correct
9 Correct 2 ms 1252 KB Output is correct
10 Correct 2 ms 1252 KB Output is correct
11 Correct 2 ms 1252 KB Output is correct
12 Correct 2 ms 1252 KB Output is correct
13 Correct 2 ms 1252 KB Output is correct
14 Correct 2 ms 1252 KB Output is correct
15 Correct 2 ms 1252 KB Output is correct
16 Correct 4 ms 1252 KB Output is correct
17 Correct 2 ms 1252 KB Output is correct
18 Correct 2 ms 1252 KB Output is correct
19 Correct 2 ms 1252 KB Output is correct
20 Correct 3 ms 1252 KB Output is correct
21 Correct 2 ms 1252 KB Output is correct
22 Correct 2 ms 1252 KB Output is correct
23 Correct 3 ms 1252 KB Output is correct
24 Correct 3 ms 1256 KB Output is correct
25 Correct 2 ms 1256 KB Output is correct
26 Correct 4 ms 1256 KB Output is correct
27 Correct 3 ms 1256 KB Output is correct
28 Correct 3 ms 1260 KB Output is correct
29 Correct 2 ms 1260 KB Output is correct
30 Correct 3 ms 1260 KB Output is correct
31 Correct 2 ms 1260 KB Output is correct
32 Correct 4 ms 1260 KB Output is correct
33 Correct 3 ms 1280 KB Output is correct
34 Correct 4 ms 1288 KB Output is correct
35 Correct 4 ms 1304 KB Output is correct
36 Correct 4 ms 1324 KB Output is correct
37 Correct 4 ms 1344 KB Output is correct
38 Correct 3 ms 1364 KB Output is correct
39 Correct 4 ms 1388 KB Output is correct
40 Correct 5 ms 1404 KB Output is correct
41 Correct 4 ms 1404 KB Output is correct
42 Correct 6 ms 1444 KB Output is correct
43 Correct 4 ms 1464 KB Output is correct
44 Correct 3 ms 1492 KB Output is correct
45 Correct 5 ms 1492 KB Output is correct
46 Correct 4 ms 1492 KB Output is correct
47 Correct 5 ms 1564 KB Output is correct
48 Correct 4 ms 1564 KB Output is correct
49 Correct 4 ms 1584 KB Output is correct
50 Correct 5 ms 1604 KB Output is correct
51 Correct 4 ms 1624 KB Output is correct
52 Correct 5 ms 1648 KB Output is correct
53 Correct 5 ms 1668 KB Output is correct
54 Correct 4 ms 1684 KB Output is correct
55 Correct 53 ms 3368 KB Output is correct
56 Correct 48 ms 4472 KB Output is correct
57 Correct 48 ms 5320 KB Output is correct
58 Correct 58 ms 6296 KB Output is correct
59 Correct 88 ms 7272 KB Output is correct
60 Correct 49 ms 8284 KB Output is correct
61 Correct 52 ms 9224 KB Output is correct
62 Correct 77 ms 10216 KB Output is correct
63 Correct 58 ms 11316 KB Output is correct
64 Correct 52 ms 12196 KB Output is correct
65 Correct 54 ms 13132 KB Output is correct
66 Correct 84 ms 14136 KB Output is correct
67 Correct 78 ms 15076 KB Output is correct
68 Correct 60 ms 16088 KB Output is correct
69 Correct 52 ms 17192 KB Output is correct
70 Correct 57 ms 18152 KB Output is correct
71 Correct 75 ms 19036 KB Output is correct
72 Correct 54 ms 20052 KB Output is correct
73 Correct 66 ms 21044 KB Output is correct
74 Correct 64 ms 21996 KB Output is correct
75 Correct 49 ms 22984 KB Output is correct
76 Correct 125 ms 26288 KB Output is correct
77 Correct 149 ms 28552 KB Output is correct
78 Correct 133 ms 30824 KB Output is correct
79 Correct 130 ms 33104 KB Output is correct
80 Correct 128 ms 35468 KB Output is correct
81 Correct 111 ms 37724 KB Output is correct
82 Correct 107 ms 39932 KB Output is correct
83 Correct 117 ms 42256 KB Output is correct
84 Correct 130 ms 44492 KB Output is correct
85 Correct 255 ms 49876 KB Output is correct
86 Correct 226 ms 53844 KB Output is correct
87 Correct 250 ms 57856 KB Output is correct
88 Correct 191 ms 61928 KB Output is correct
89 Correct 192 ms 66020 KB Output is correct
90 Correct 213 ms 69928 KB Output is correct
91 Correct 229 ms 73864 KB Output is correct
92 Correct 193 ms 78048 KB Output is correct
93 Correct 219 ms 81980 KB Output is correct
94 Correct 494 ms 94992 KB Output is correct
95 Correct 463 ms 104340 KB Output is correct
96 Correct 513 ms 113708 KB Output is correct
97 Correct 395 ms 123100 KB Output is correct
98 Correct 422 ms 132404 KB Output is correct
99 Correct 499 ms 141952 KB Output is correct
100 Correct 597 ms 151280 KB Output is correct