Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

26614
108876
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 0~34 $n\le 7$ 12 / 12
3 0, 35~47 所有小鎮皆與兩條鐵路相鄰。 12 / 12
4 0~1, 35~70 $n=m$ 28 / 28
5 0~40, 48~60, 71~113 $n\le 2000,m\le 4000$ 16 / 16
6 0~148 無額外限制 32 / 32

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 2 3 4 5 6 0002.5 6212 3500 Accepted 100
1 1 2 4 5 6 0002.6 6212 3360 Accepted 100
2 1 2 5 6 0002.5 6212 3428 Accepted 100
3 2 5 6 0002.6 6212 3484 Accepted 100
4 2 5 6 0002.5 6212 3440 Accepted 100
5 2 5 6 0002.4 6212 3524 Accepted 100
6 2 5 6 0002.6 6212 3548 Accepted 100
7 2 5 6 0002.5 6212 3548 Accepted 100
8 2 5 6 0002.6 6212 3488 Accepted 100
9 2 5 6 0002.6 6212 3492 Accepted 100
10 2 5 6 0002.6 6212 3520 Accepted 100
11 2 5 6 0002.5 6212 3484 Accepted 100
12 2 5 6 0002.5 6212 3516 Accepted 100
13 2 5 6 0003.4 6212 3528 Accepted 100
14 2 5 6 0002.5 6212 3552 Accepted 100
15 2 5 6 0002.5 6212 3444 Accepted 100
16 2 5 6 0002.5 6212 3476 Accepted 100
17 2 5 6 0002.4 6212 3524 Accepted 100
18 2 5 6 0002.4 6212 3504 Accepted 100
19 2 5 6 0002.5 6212 3532 Accepted 100
20 2 5 6 0002.5 6212 3492 Accepted 100
21 2 5 6 0002.7 6212 3528 Accepted 100
22 2 5 6 0002.6 6212 3440 Accepted 100
23 2 5 6 0002.6 6212 3524 Accepted 100
24 2 5 6 0002.6 6212 3524 Accepted 100
25 2 5 6 0002.6 6212 3440 Accepted 100
26 2 5 6 0002.5 6212 3488 Accepted 100
27 2 5 6 0002.5 6212 3360 Accepted 100
28 2 5 6 0002.5 6212 3484 Accepted 100
29 2 5 6 0002.5 6212 3500 Accepted 100
30 2 5 6 0002.6 6212 3528 Accepted 100
31 2 5 6 0003.1 6212 3356 Accepted 100
32 2 5 6 0002.6 6212 3492 Accepted 100
33 2 5 6 0002.6 6212 3492 Accepted 100
34 2 5 6 0002.5 6212 3536 Accepted 100
35 3 4 5 6 0002.5 6212 3524 Accepted 100
36 3 4 5 6 0002.6 6212 3528 Accepted 100
37 3 4 5 6 0002.5 6212 3612 Accepted 100
38 3 4 5 6 0002.5 6212 3516 Accepted 100
39 3 4 5 6 0003.3 6344 3704 Accepted 100
40 3 4 5 6 0003.4 6344 3648 Accepted 100
41 3 4 6 0405.9 49172 46204 Accepted 100
42 3 4 6 0034.3 12364 9428 Accepted 100
43 3 4 6 0073.7 17280 14416 Accepted 100
44 3 4 6 0266.8 36136 33184 Accepted 100
45 3 4 6 0226.6 32896 29864 Accepted 100
46 3 4 6 0517.2 58976 56148 Accepted 100
47 3 4 6 0518.6 58980 56264 Accepted 100
48 4 5 6 0002.6 6212 3496 Accepted 100
49 4 5 6 0002.6 6212 3528 Accepted 100
50 4 5 6 0002.7 6212 3440 Accepted 100
51 4 5 6 0002.7 6212 3540 Accepted 100
52 4 5 6 0003.8 6368 3828 Accepted 100
53 4 5 6 0003.9 6368 3820 Accepted 100
54 4 5 6 0003.8 6368 3828 Accepted 100
55 4 5 6 0003.8 6368 3788 Accepted 100
56 4 5 6 0002.6 6212 3488 Accepted 100
57 4 5 6 0002.6 6212 3484 Accepted 100
58 4 5 6 0002.7 6212 3536 Accepted 100
59 4 5 6 0003.5 6344 3700 Accepted 100
60 4 5 6 0003.5 6344 3576 Accepted 100
61 4 6 0034.4 13072 10096 Accepted 100
62 4 6 0115.3 24152 20820 Accepted 100
63 4 6 0228.9 37672 34544 Accepted 100
64 4 6 0544.6 69564 66392 Accepted 100
65 4 6 0628.2 79044 74048 Accepted 100
66 4 6 0628.0 79080 74164 Accepted 100
67 4 6 0624.2 79084 74200 Accepted 100
68 4 6 0627.4 79068 74064 Accepted 100
69 4 6 0537.8 58976 56260 Accepted 100
70 4 6 0633.2 79096 74156 Accepted 100
71 5 6 0002.6 6212 3480 Accepted 100
72 5 6 0002.6 6212 3544 Accepted 100
73 5 6 0002.8 6212 3528 Accepted 100
74 5 6 0002.9 6212 3592 Accepted 100
75 5 6 0003.3 6364 3624 Accepted 100
76 5 6 0003.6 6396 3664 Accepted 100
77 5 6 0003.6 6368 3772 Accepted 100
78 5 6 0003.6 6368 3844 Accepted 100
79 5 6 0003.6 6368 3828 Accepted 100
80 5 6 0003.6 6360 3652 Accepted 100
81 5 6 0003.8 6368 3788 Accepted 100
82 5 6 0003.9 6384 3868 Accepted 100
83 5 6 0004.6 6452 3952 Accepted 100
84 5 6 0004.5 6448 4048 Accepted 100
85 5 6 0004.4 6452 3884 Accepted 100
86 5 6 0003.3 6344 3736 Accepted 100
87 5 6 0003.3 6344 3700 Accepted 100
88 5 6 0003.3 6344 3704 Accepted 100
89 5 6 0003.3 6344 3708 Accepted 100
90 5 6 0003.5 6344 3824 Accepted 100
91 5 6 0003.4 6344 3740 Accepted 100
92 5 6 0003.3 6344 3576 Accepted 100
93 5 6 0003.4 6344 3736 Accepted 100
94 5 6 0003.5 6344 3740 Accepted 100
95 5 6 0003.6 6344 3736 Accepted 100
96 5 6 0003.5 6344 3720 Accepted 100
97 5 6 0003.3 6344 3704 Accepted 100
98 5 6 0003.2 6344 3736 Accepted 100
99 5 6 0003.4 6344 3740 Accepted 100
100 5 6 0003.4 6344 3704 Accepted 100
101 5 6 0003.4 6344 3652 Accepted 100
102 5 6 0003.4 6344 3656 Accepted 100
103 5 6 0003.4 6344 3700 Accepted 100
104 5 6 0003.4 6344 3740 Accepted 100
105 5 6 0003.7 6344 3700 Accepted 100
106 5 6 0003.5 6344 3652 Accepted 100
107 5 6 0003.3 6344 3644 Accepted 100
108 5 6 0003.3 6344 3744 Accepted 100
109 5 6 0003.5 6344 3692 Accepted 100
110 5 6 0003.4 6344 3732 Accepted 100
111 5 6 0003.4 6344 3700 Accepted 100
112 5 6 0002.9 6212 3588 Accepted 100
113 5 6 0002.8 6212 3628 Accepted 100
114 6 0019.1 9644 7172 Accepted 100
115 6 0069.5 19972 17164 Accepted 100
116 6 0143.4 33836 30944 Accepted 100
117 6 0167.8 38076 35384 Accepted 100
118 6 0178.6 38504 35596 Accepted 100
119 6 0171.9 38536 35732 Accepted 100
120 6 0404.5 78008 74376 Accepted 100
121 6 0627.2 79060 74168 Accepted 100
122 6 0632.3 79080 74092 Accepted 100
123 6 0640.6 79104 74116 Accepted 100
124 6 0641.9 79084 74080 Accepted 100
125 6 0623.3 79084 74184 Accepted 100
126 6 0625.9 79080 74100 Accepted 100
127 6 0632.2 79080 74200 Accepted 100
128 6 0628.1 79152 74124 Accepted 100
129 6 0646.1 79684 74696 Accepted 100
130 6 0733.0 85648 80496 Accepted 100
131 6 1161.8 111924 108876 Accepted 100
132 6 1159.2 112004 108760 Accepted 100
133 6 1161.5 111948 108860 Accepted 100
134 6 1166.3 111988 108804 Accepted 100
135 6 0527.9 58984 56140 Accepted 100
136 6 0530.4 58980 56136 Accepted 100
137 6 0526.2 58980 56204 Accepted 100
138 6 0535.6 58980 56136 Accepted 100
139 6 0532.9 58984 56136 Accepted 100
140 6 0530.0 58980 56272 Accepted 100
141 6 0528.5 58984 56260 Accepted 100
142 6 0532.9 58984 56240 Accepted 100
143 6 0532.1 58976 56132 Accepted 100
144 6 0534.1 58984 56140 Accepted 100
145 6 0536.2 58980 56156 Accepted 100
146 6 0540.8 58976 56152 Accepted 100
147 6 0539.7 58980 56240 Accepted 100
148 6 0512.5 58980 56240 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.16 KB
Back to Top