Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

26542
108832
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.6 6212 3492 Accepted 100
1 1 2 4 5 6 0002.6 6212 3436 Accepted 100
2 1 2 5 6 0002.6 6212 3488 Accepted 100
3 2 5 6 0002.6 6212 3488 Accepted 100
4 2 5 6 0002.8 6212 3548 Accepted 100
5 2 5 6 0002.5 6212 3524 Accepted 100
6 2 5 6 0002.5 6212 3444 Accepted 100
7 2 5 6 0002.8 6212 3532 Accepted 100
8 2 5 6 0002.6 6212 3520 Accepted 100
9 2 5 6 0002.5 6212 3488 Accepted 100
10 2 5 6 0002.5 6212 3520 Accepted 100
11 2 5 6 0002.5 6212 3524 Accepted 100
12 2 5 6 0002.6 6212 3520 Accepted 100
13 2 5 6 0002.4 6212 3548 Accepted 100
14 2 5 6 0002.5 6212 3524 Accepted 100
15 2 5 6 0002.6 6212 3528 Accepted 100
16 2 5 6 0002.4 6212 3540 Accepted 100
17 2 5 6 0002.5 6212 3520 Accepted 100
18 2 5 6 0002.5 6212 3552 Accepted 100
19 2 5 6 0002.4 6212 3544 Accepted 100
20 2 5 6 0002.6 6212 3548 Accepted 100
21 2 5 6 0002.7 6212 3480 Accepted 100
22 2 5 6 0002.5 6212 3440 Accepted 100
23 2 5 6 0002.5 6212 3528 Accepted 100
24 2 5 6 0002.6 6212 3504 Accepted 100
25 2 5 6 0002.6 6212 3548 Accepted 100
26 2 5 6 0002.5 6212 3520 Accepted 100
27 2 5 6 0002.4 6212 3492 Accepted 100
28 2 5 6 0002.6 6212 3364 Accepted 100
29 2 5 6 0002.7 6212 3520 Accepted 100
30 2 5 6 0002.5 6212 3552 Accepted 100
31 2 5 6 0002.4 6212 3484 Accepted 100
32 2 5 6 0002.5 6212 3524 Accepted 100
33 2 5 6 0002.5 6212 3472 Accepted 100
34 2 5 6 0002.6 6212 3544 Accepted 100
35 3 4 5 6 0002.5 6212 3528 Accepted 100
36 3 4 5 6 0002.5 6212 3524 Accepted 100
37 3 4 5 6 0002.6 6212 3480 Accepted 100
38 3 4 5 6 0002.6 6212 3504 Accepted 100
39 3 4 5 6 0003.4 6344 3712 Accepted 100
40 3 4 5 6 0003.4 6344 3696 Accepted 100
41 3 4 6 0410.8 49176 46120 Accepted 100
42 3 4 6 0032.9 12368 9480 Accepted 100
43 3 4 6 0070.9 17276 14500 Accepted 100
44 3 4 6 0268.6 36132 33292 Accepted 100
45 3 4 6 0230.3 32896 29840 Accepted 100
46 3 4 6 0520.6 58980 56136 Accepted 100
47 3 4 6 0528.0 58984 56124 Accepted 100
48 4 5 6 0002.6 6212 3528 Accepted 100
49 4 5 6 0002.6 6212 3440 Accepted 100
50 4 5 6 0002.6 6212 3508 Accepted 100
51 4 5 6 0002.5 6212 3504 Accepted 100
52 4 5 6 0003.5 6364 3784 Accepted 100
53 4 5 6 0003.7 6368 3824 Accepted 100
54 4 5 6 0003.6 6364 3736 Accepted 100
55 4 5 6 0003.9 6368 3848 Accepted 100
56 4 5 6 0002.5 6212 3452 Accepted 100
57 4 5 6 0002.7 6212 3544 Accepted 100
58 4 5 6 0002.6 6212 3452 Accepted 100
59 4 5 6 0003.6 6344 3760 Accepted 100
60 4 5 6 0003.4 6344 3700 Accepted 100
61 4 6 0032.7 13068 10068 Accepted 100
62 4 6 0110.5 24152 20696 Accepted 100
63 4 6 0228.5 37668 34692 Accepted 100
64 4 6 0548.4 69564 66456 Accepted 100
65 4 6 0630.2 79044 74176 Accepted 100
66 4 6 0627.2 79080 74148 Accepted 100
67 4 6 0629.1 79080 74208 Accepted 100
68 4 6 0627.1 79068 74084 Accepted 100
69 4 6 0535.1 58984 56156 Accepted 100
70 4 6 0634.3 79096 74160 Accepted 100
71 5 6 0002.8 6212 3552 Accepted 100
72 5 6 0002.8 6212 3536 Accepted 100
73 5 6 0002.6 6212 3572 Accepted 100
74 5 6 0002.9 6212 3620 Accepted 100
75 5 6 0003.5 6364 3784 Accepted 100
76 5 6 0003.7 6404 3840 Accepted 100
77 5 6 0003.6 6364 3824 Accepted 100
78 5 6 0003.6 6368 3824 Accepted 100
79 5 6 0003.6 6368 3788 Accepted 100
80 5 6 0003.8 6368 3800 Accepted 100
81 5 6 0003.6 6372 3832 Accepted 100
82 5 6 0003.8 6384 3820 Accepted 100
83 5 6 0004.3 6448 3880 Accepted 100
84 5 6 0004.3 6448 3920 Accepted 100
85 5 6 0004.3 6456 3976 Accepted 100
86 5 6 0003.4 6344 3740 Accepted 100
87 5 6 0003.4 6344 3684 Accepted 100
88 5 6 0003.5 6344 3716 Accepted 100
89 5 6 0003.4 6344 3716 Accepted 100
90 5 6 0003.5 6344 3736 Accepted 100
91 5 6 0003.3 6344 3728 Accepted 100
92 5 6 0003.3 6344 3820 Accepted 100
93 5 6 0003.4 6344 3704 Accepted 100
94 5 6 0003.5 6344 3688 Accepted 100
95 5 6 0003.3 6344 3736 Accepted 100
96 5 6 0003.3 6344 3736 Accepted 100
97 5 6 0003.3 6344 3696 Accepted 100
98 5 6 0003.3 6344 3732 Accepted 100
99 5 6 0003.5 6344 3740 Accepted 100
100 5 6 0003.5 6344 3820 Accepted 100
101 5 6 0003.4 6344 3700 Accepted 100
102 5 6 0003.4 6344 3700 Accepted 100
103 5 6 0003.5 6344 3740 Accepted 100
104 5 6 0003.4 6344 3740 Accepted 100
105 5 6 0003.4 6344 3652 Accepted 100
106 5 6 0003.5 6344 3704 Accepted 100
107 5 6 0003.4 6344 3652 Accepted 100
108 5 6 0003.3 6344 3760 Accepted 100
109 5 6 0003.4 6344 3652 Accepted 100
110 5 6 0003.4 6344 3700 Accepted 100
111 5 6 0003.4 6344 3700 Accepted 100
112 5 6 0002.9 6212 3636 Accepted 100
113 5 6 0003.0 6212 3596 Accepted 100
114 6 0019.2 9640 7040 Accepted 100
115 6 0072.5 19976 17084 Accepted 100
116 6 0145.2 33840 30976 Accepted 100
117 6 0176.7 38076 35328 Accepted 100
118 6 0170.4 38496 35688 Accepted 100
119 6 0175.0 38540 35852 Accepted 100
120 6 0403.1 78004 74380 Accepted 100
121 6 0631.7 79064 74088 Accepted 100
122 6 0630.1 79072 74192 Accepted 100
123 6 0633.4 79104 74104 Accepted 100
124 6 0639.6 79088 74096 Accepted 100
125 6 0625.7 79084 74068 Accepted 100
126 6 0623.7 79080 74072 Accepted 100
127 6 0631.1 79080 74164 Accepted 100
128 6 0642.5 79148 74108 Accepted 100
129 6 0644.0 79684 74584 Accepted 100
130 6 0733.9 85652 80604 Accepted 100
131 6 1166.8 111924 108752 Accepted 100
132 6 1155.1 112012 108832 Accepted 100
133 6 1144.2 111944 108736 Accepted 100
134 6 1171.5 111988 108824 Accepted 100
135 6 0521.5 58984 56156 Accepted 100
136 6 0526.5 58980 56200 Accepted 100
137 6 0519.2 58976 56236 Accepted 100
138 6 0529.0 58980 56128 Accepted 100
139 6 0529.0 58976 56132 Accepted 100
140 6 0525.3 58980 56252 Accepted 100
141 6 0521.5 58976 56208 Accepted 100
142 6 0525.5 58976 56144 Accepted 100
143 6 0529.6 58980 56152 Accepted 100
144 6 0528.1 58976 56236 Accepted 100
145 6 0522.7 58984 56156 Accepted 100
146 6 0529.2 58980 56272 Accepted 100
147 6 0543.2 58976 56256 Accepted 100
148 6 0497.2 58976 56260 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.15 KB
Back to Top