Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

28170
105276
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 0017.0 25740 15296 Accepted 100
1 1 2 4 5 6 0017.2 25740 15296 Accepted 100
2 1 2 5 6 0017.0 25740 15228 Accepted 100
3 2 5 6 0016.8 25740 15300 Accepted 100
4 2 5 6 0016.9 25740 15304 Accepted 100
5 2 5 6 0016.8 25740 15300 Accepted 100
6 2 5 6 0016.8 25740 15224 Accepted 100
7 2 5 6 0016.5 25740 15264 Accepted 100
8 2 5 6 0016.8 25740 15260 Accepted 100
9 2 5 6 0017.3 25740 15248 Accepted 100
10 2 5 6 0017.3 25740 15088 Accepted 100
11 2 5 6 0017.0 25740 15312 Accepted 100
12 2 5 6 0016.6 25740 15300 Accepted 100
13 2 5 6 0016.7 25740 15240 Accepted 100
14 2 5 6 0017.1 25740 15328 Accepted 100
15 2 5 6 0017.4 25740 15268 Accepted 100
16 2 5 6 0017.0 25740 15292 Accepted 100
17 2 5 6 0016.8 25740 15088 Accepted 100
18 2 5 6 0016.7 25740 15248 Accepted 100
19 2 5 6 0016.7 25740 15296 Accepted 100
20 2 5 6 0017.0 25740 15300 Accepted 100
21 2 5 6 0016.9 25740 15292 Accepted 100
22 2 5 6 0017.3 25740 15232 Accepted 100
23 2 5 6 0015.8 25740 15176 Accepted 100
24 2 5 6 0015.9 25740 15300 Accepted 100
25 2 5 6 0016.9 25740 15300 Accepted 100
26 2 5 6 0016.9 25740 15176 Accepted 100
27 2 5 6 0016.6 25740 15228 Accepted 100
28 2 5 6 0016.7 25740 15304 Accepted 100
29 2 5 6 0017.0 25740 15296 Accepted 100
30 2 5 6 0017.2 25740 15292 Accepted 100
31 2 5 6 0016.3 25740 15368 Accepted 100
32 2 5 6 0017.0 25740 15252 Accepted 100
33 2 5 6 0016.0 25740 15320 Accepted 100
34 2 5 6 0016.7 25740 15292 Accepted 100
35 3 4 5 6 0016.9 25740 15228 Accepted 100
36 3 4 5 6 0016.6 25740 15364 Accepted 100
37 3 4 5 6 0016.9 25740 15296 Accepted 100
38 3 4 5 6 0016.8 25740 15284 Accepted 100
39 3 4 5 6 0017.8 25740 15472 Accepted 100
40 3 4 5 6 0018.3 25740 15504 Accepted 100
41 3 4 6 0473.9 63736 58184 Accepted 100
42 3 4 6 0051.9 31192 21564 Accepted 100
43 3 4 6 0100.6 35556 26468 Accepted 100
44 3 4 6 0284.3 52164 45108 Accepted 100
45 3 4 6 0256.0 49324 41944 Accepted 100
46 3 4 6 0568.8 72440 67984 Accepted 100
47 3 4 6 0554.2 72436 68020 Accepted 100
48 4 5 6 0016.5 25740 15300 Accepted 100
49 4 5 6 0016.5 25740 15252 Accepted 100
50 4 5 6 0016.5 25740 15260 Accepted 100
51 4 5 6 0017.0 25740 15280 Accepted 100
52 4 5 6 0017.8 25740 15400 Accepted 100
53 4 5 6 0017.7 25740 15364 Accepted 100
54 4 5 6 0017.6 25740 15404 Accepted 100
55 4 5 6 0017.6 25740 15156 Accepted 100
56 4 5 6 0018.3 25740 15256 Accepted 100
57 4 5 6 0017.0 25740 15288 Accepted 100
58 4 5 6 0017.3 25740 15296 Accepted 100
59 4 5 6 0019.3 25744 15512 Accepted 100
60 4 5 6 0017.5 25740 15440 Accepted 100
61 4 6 0042.6 27456 17704 Accepted 100
62 4 6 0099.4 30228 21256 Accepted 100
63 4 6 0193.0 33792 26040 Accepted 100
64 4 6 0469.1 42016 36872 Accepted 100
65 4 6 0542.0 43956 39420 Accepted 100
66 4 6 0537.0 43956 39448 Accepted 100
67 4 6 0542.6 43956 39444 Accepted 100
68 4 6 0560.7 43956 39416 Accepted 100
69 4 6 0621.1 72444 68024 Accepted 100
70 4 6 0545.4 43956 39480 Accepted 100
71 5 6 0017.3 25740 15300 Accepted 100
72 5 6 0017.2 25740 15268 Accepted 100
73 5 6 0017.2 25740 15248 Accepted 100
74 5 6 0017.3 25740 15336 Accepted 100
75 5 6 0018.5 25928 15552 Accepted 100
76 5 6 0018.0 25988 15744 Accepted 100
77 5 6 0017.8 25740 15364 Accepted 100
78 5 6 0017.5 25740 15396 Accepted 100
79 5 6 0017.5 25740 15352 Accepted 100
80 5 6 0017.5 25740 15340 Accepted 100
81 5 6 0018.1 25740 15492 Accepted 100
82 5 6 0017.6 25740 15492 Accepted 100
83 5 6 0018.9 25924 15592 Accepted 100
84 5 6 0019.0 25920 15640 Accepted 100
85 5 6 0018.8 25920 15568 Accepted 100
86 5 6 0018.0 25740 15300 Accepted 100
87 5 6 0019.0 25740 15512 Accepted 100
88 5 6 0018.2 25740 15504 Accepted 100
89 5 6 0017.8 25744 15512 Accepted 100
90 5 6 0018.1 25740 15476 Accepted 100
91 5 6 0018.1 25740 15484 Accepted 100
92 5 6 0019.0 25740 15468 Accepted 100
93 5 6 0018.1 25740 15512 Accepted 100
94 5 6 0017.7 25740 15508 Accepted 100
95 5 6 0018.8 25740 15508 Accepted 100
96 5 6 0017.9 25740 15468 Accepted 100
97 5 6 0018.2 25740 15460 Accepted 100
98 5 6 0017.8 25740 15468 Accepted 100
99 5 6 0017.8 25740 15304 Accepted 100
100 5 6 0018.8 25740 15460 Accepted 100
101 5 6 0017.8 25740 15500 Accepted 100
102 5 6 0018.0 25740 15508 Accepted 100
103 5 6 0018.2 25740 15464 Accepted 100
104 5 6 0017.6 25740 15464 Accepted 100
105 5 6 0018.3 25740 15576 Accepted 100
106 5 6 0018.1 25744 15484 Accepted 100
107 5 6 0017.9 25744 15476 Accepted 100
108 5 6 0021.2 25740 15388 Accepted 100
109 5 6 0018.2 25740 15304 Accepted 100
110 5 6 0017.7 25740 15480 Accepted 100
111 5 6 0017.7 25740 15576 Accepted 100
112 5 6 0017.3 25740 15348 Accepted 100
113 5 6 0017.9 25740 15404 Accepted 100
114 6 0035.0 29756 19632 Accepted 100
115 6 0089.8 42568 32684 Accepted 100
116 6 0169.3 59412 50392 Accepted 100
117 6 0201.1 65036 56208 Accepted 100
118 6 0201.4 65592 56856 Accepted 100
119 6 0200.6 65616 56988 Accepted 100
120 6 0447.8 112636 105276 Accepted 100
121 6 0536.9 43956 39208 Accepted 100
122 6 0549.2 43956 39420 Accepted 100
123 6 0541.0 43956 39476 Accepted 100
124 6 0542.3 44004 39528 Accepted 100
125 6 0542.0 43988 39440 Accepted 100
126 6 0534.9 44048 39516 Accepted 100
127 6 0526.0 44376 39900 Accepted 100
128 6 0551.5 45236 40792 Accepted 100
129 6 0562.4 48592 44196 Accepted 100
130 6 0687.3 61864 57644 Accepted 100
131 6 1254.2 99760 97264 Accepted 100
132 6 1188.4 99772 97276 Accepted 100
133 6 1172.6 99752 97268 Accepted 100
134 6 1180.3 99768 97268 Accepted 100
135 6 0582.6 72444 67988 Accepted 100
136 6 0617.1 72440 67820 Accepted 100
137 6 0604.4 72440 68000 Accepted 100
138 6 0594.9 72444 67992 Accepted 100
139 6 0590.1 72440 67976 Accepted 100
140 6 0587.3 72440 67908 Accepted 100
141 6 0613.3 72440 68044 Accepted 100
142 6 0603.4 72444 68096 Accepted 100
143 6 0588.6 72440 68024 Accepted 100
144 6 0591.5 72440 67904 Accepted 100
145 6 0598.5 72440 68024 Accepted 100
146 6 0595.9 72440 68028 Accepted 100
147 6 0585.8 72440 67976 Accepted 100
148 6 0564.0 72444 68028 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
800 Bytes
Back to Top