Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

2626
199120
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~7 範例測資。 0 / 0
2 8~42 小班制:$N \leq 8$ 10 / 10
3 43~63 議論紛紛:$a_i \neq -1$ 20 / 20
4 64~83 集體失憶:$a_i = -1$ 20 / 20
5 0~94 順其自然:無額外限制。 50 / 50

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0001.7 6368 3660 Accepted 100
1 1 5 0001.3 6368 3660 Accepted 100
2 1 5 0001.4 6368 3644 Accepted 100
3 1 5 0001.3 6368 3668 Accepted 100
4 1 5 0001.3 6368 3612 Accepted 100
5 1 5 0001.5 6368 3560 Accepted 100
6 1 5 0001.3 6368 3584 Accepted 100
7 1 5 0001.3 6368 3616 Accepted 100
8 2 5 0001.3 6368 3668 Accepted 100
9 2 5 0001.4 6368 3724 Accepted 100
10 2 5 0001.4 6368 3564 Accepted 100
11 2 5 0001.3 6368 3612 Accepted 100
12 2 5 0001.2 6368 3608 Accepted 100
13 2 5 0001.2 6368 3668 Accepted 100
14 2 5 0001.2 6368 3520 Accepted 100
15 2 5 0001.5 6368 3604 Accepted 100
16 2 5 0001.6 6368 3432 Accepted 100
17 2 5 0001.7 6368 3636 Accepted 100
18 2 5 0001.7 6368 3612 Accepted 100
19 2 5 0001.8 6368 3656 Accepted 100
20 2 5 0001.7 6368 3432 Accepted 100
21 2 5 0001.4 6368 3636 Accepted 100
22 2 5 0001.2 6368 3664 Accepted 100
23 2 5 0001.8 6368 3648 Accepted 100
24 2 5 0001.4 6368 3632 Accepted 100
25 2 5 0001.3 6368 3640 Accepted 100
26 2 5 0001.3 6368 3600 Accepted 100
27 2 5 0001.2 6368 3724 Accepted 100
28 2 5 0001.4 6368 3608 Accepted 100
29 2 5 0001.2 6368 3632 Accepted 100
30 2 5 0001.2 6368 3528 Accepted 100
31 2 5 0001.6 6368 3668 Accepted 100
32 2 5 0001.6 6368 3612 Accepted 100
33 2 5 0001.8 6368 3600 Accepted 100
34 2 5 0001.6 6368 3612 Accepted 100
35 2 5 0001.6 6368 3612 Accepted 100
36 2 5 0001.6 6368 3596 Accepted 100
37 2 5 0001.6 6368 3596 Accepted 100
38 2 5 0001.6 6368 3596 Accepted 100
39 2 5 0001.7 6368 3640 Accepted 100
40 2 5 0001.6 6368 3664 Accepted 100
41 2 5 0001.5 6368 3612 Accepted 100
42 2 5 0001.6 6368 3664 Accepted 100
43 3 5 0001.3 6368 3612 Accepted 100
44 3 5 0001.2 6368 3528 Accepted 100
45 3 5 0001.3 6368 3612 Accepted 100
46 3 5 0001.3 6368 3608 Accepted 100
47 3 5 0001.2 6368 3724 Accepted 100
48 3 5 0001.1 6368 3636 Accepted 100
49 3 5 0001.1 6368 3636 Accepted 100
50 3 5 0001.4 6368 3600 Accepted 100
51 3 5 0001.2 6368 3600 Accepted 100
52 3 5 0001.2 6368 3616 Accepted 100
53 3 5 0001.1 6368 3528 Accepted 100
54 3 5 0001.2 6368 3528 Accepted 100
55 3 5 0001.5 6368 3608 Accepted 100
56 3 5 0001.2 6368 3604 Accepted 100
57 3 5 0001.3 6368 3428 Accepted 100
58 3 5 0007.4 12452 9408 Accepted 100
59 3 5 0079.9 202072 198972 Accepted 100
60 3 5 0184.8 184572 181620 Accepted 100
61 3 5 0206.9 202072 199108 Accepted 100
62 3 5 0194.0 202072 199056 Accepted 100
63 3 5 0187.0 198256 195096 Accepted 100
64 4 5 0001.3 6368 3620 Accepted 100
65 4 5 0001.3 6368 3608 Accepted 100
66 4 5 0001.3 6368 3664 Accepted 100
67 4 5 0001.2 6368 3616 Accepted 100
68 4 5 0001.2 6368 3664 Accepted 100
69 4 5 0001.2 6368 3616 Accepted 100
70 4 5 0001.3 6368 3724 Accepted 100
71 4 5 0001.3 6368 3636 Accepted 100
72 4 5 0001.3 6368 3736 Accepted 100
73 4 5 0001.2 6368 3636 Accepted 100
74 4 5 0001.4 6368 3672 Accepted 100
75 4 5 0001.5 6500 3736 Accepted 100
76 4 5 0001.7 6764 3564 Accepted 100
77 4 5 0002.4 7424 4484 Accepted 100
78 4 5 0004.0 9280 6176 Accepted 100
79 4 5 0008.9 14056 10668 Accepted 100
80 4 5 0022.9 26304 23096 Accepted 100
81 4 5 0056.3 58732 55704 Accepted 100
82 4 5 0134.1 143228 140244 Accepted 100
83 4 5 0193.0 202072 198928 Accepted 100
84 5 0194.4 202072 198888 Accepted 100
85 5 0076.4 202072 199052 Accepted 100
86 5 0193.7 202072 199120 Accepted 100
87 5 0193.0 202072 199088 Accepted 100
88 5 0191.7 202072 199112 Accepted 100
89 5 0192.8 201056 198064 Accepted 100
90 5 0198.1 202072 199052 Accepted 100
91 5 0001.4 6368 3636 Accepted 100
92 5 0001.3 6368 3664 Accepted 100
93 5 0001.3 6368 3668 Accepted 100
94 5 0001.4 6368 3612 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.64 KB
Back to Top