Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

26801
110832
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 3548 Accepted 100
1 1 2 4 5 6 0002.4 6212 3528 Accepted 100
2 1 2 5 6 0002.7 6212 3484 Accepted 100
3 2 5 6 0002.4 6212 3496 Accepted 100
4 2 5 6 0002.6 6212 3524 Accepted 100
5 2 5 6 0002.6 6212 3480 Accepted 100
6 2 5 6 0002.6 6212 3524 Accepted 100
7 2 5 6 0002.5 6212 3524 Accepted 100
8 2 5 6 0002.6 6212 3520 Accepted 100
9 2 5 6 0002.5 6212 3472 Accepted 100
10 2 5 6 0002.5 6212 3484 Accepted 100
11 2 5 6 0002.5 6212 3520 Accepted 100
12 2 5 6 0002.7 6212 3548 Accepted 100
13 2 5 6 0002.5 6212 3528 Accepted 100
14 2 5 6 0002.7 6212 3484 Accepted 100
15 2 5 6 0002.5 6212 3364 Accepted 100
16 2 5 6 0002.5 6212 3528 Accepted 100
17 2 5 6 0002.4 6212 3548 Accepted 100
18 2 5 6 0002.5 6212 3552 Accepted 100
19 2 5 6 0002.6 6212 3528 Accepted 100
20 2 5 6 0002.6 6212 3520 Accepted 100
21 2 5 6 0002.6 6212 3548 Accepted 100
22 2 5 6 0002.6 6212 3524 Accepted 100
23 2 5 6 0002.6 6212 3488 Accepted 100
24 2 5 6 0002.7 6212 3552 Accepted 100
25 2 5 6 0002.8 6212 3528 Accepted 100
26 2 5 6 0002.6 6212 3520 Accepted 100
27 2 5 6 0002.4 6212 3440 Accepted 100
28 2 5 6 0002.4 6212 3492 Accepted 100
29 2 5 6 0002.5 6212 3484 Accepted 100
30 2 5 6 0002.6 6212 3548 Accepted 100
31 2 5 6 0002.7 6212 3488 Accepted 100
32 2 5 6 0002.5 6212 3608 Accepted 100
33 2 5 6 0002.5 6212 3528 Accepted 100
34 2 5 6 0003.0 6212 3484 Accepted 100
35 3 4 5 6 0002.6 6212 3512 Accepted 100
36 3 4 5 6 0002.5 6212 3488 Accepted 100
37 3 4 5 6 0002.5 6212 3528 Accepted 100
38 3 4 5 6 0002.6 6212 3568 Accepted 100
39 3 4 5 6 0003.5 6344 3724 Accepted 100
40 3 4 5 6 0003.6 6344 3720 Accepted 100
41 3 4 6 0422.7 50772 47756 Accepted 100
42 3 4 6 0035.1 12600 9780 Accepted 100
43 3 4 6 0074.7 17692 14820 Accepted 100
44 3 4 6 0273.5 37244 34244 Accepted 100
45 3 4 6 0238.3 33884 30856 Accepted 100
46 3 4 6 0529.7 60932 58056 Accepted 100
47 3 4 6 0526.0 60936 58000 Accepted 100
48 4 5 6 0002.6 6212 3492 Accepted 100
49 4 5 6 0002.5 6212 3548 Accepted 100
50 4 5 6 0002.5 6212 3548 Accepted 100
51 4 5 6 0002.5 6212 3560 Accepted 100
52 4 5 6 0003.6 6364 3828 Accepted 100
53 4 5 6 0003.6 6364 3912 Accepted 100
54 4 5 6 0003.7 6364 3832 Accepted 100
55 4 5 6 0004.8 6364 3792 Accepted 100
56 4 5 6 0002.6 6212 3480 Accepted 100
57 4 5 6 0002.6 6212 3612 Accepted 100
58 4 5 6 0002.5 6212 3488 Accepted 100
59 4 5 6 0003.5 6344 3740 Accepted 100
60 4 5 6 0003.4 6344 3832 Accepted 100
61 4 6 0033.2 13264 10276 Accepted 100
62 4 6 0105.7 24632 21332 Accepted 100
63 4 6 0229.3 38540 35488 Accepted 100
64 4 6 0551.5 71308 68196 Accepted 100
65 4 6 0644.5 81000 76164 Accepted 100
66 4 6 0630.3 81040 76108 Accepted 100
67 4 6 0634.5 81040 76176 Accepted 100
68 4 6 0644.2 81028 76024 Accepted 100
69 4 6 0527.7 60940 58088 Accepted 100
70 4 6 0627.2 81048 76124 Accepted 100
71 5 6 0002.6 6212 3528 Accepted 100
72 5 6 0002.6 6212 3456 Accepted 100
73 5 6 0002.7 6212 3576 Accepted 100
74 5 6 0002.9 6212 3620 Accepted 100
75 5 6 0003.6 6360 3788 Accepted 100
76 5 6 0004.0 6404 3836 Accepted 100
77 5 6 0003.7 6364 3736 Accepted 100
78 5 6 0003.6 6364 3816 Accepted 100
79 5 6 0003.6 6364 3832 Accepted 100
80 5 6 0003.5 6360 3816 Accepted 100
81 5 6 0003.6 6372 3756 Accepted 100
82 5 6 0003.9 6384 3860 Accepted 100
83 5 6 0004.5 6448 3968 Accepted 100
84 5 6 0004.6 6444 3968 Accepted 100
85 5 6 0004.3 6456 3816 Accepted 100
86 5 6 0003.4 6344 3748 Accepted 100
87 5 6 0003.3 6344 3700 Accepted 100
88 5 6 0003.3 6344 3736 Accepted 100
89 5 6 0003.4 6344 3748 Accepted 100
90 5 6 0003.3 6344 3712 Accepted 100
91 5 6 0003.3 6344 3704 Accepted 100
92 5 6 0003.5 6344 3748 Accepted 100
93 5 6 0003.3 6344 3700 Accepted 100
94 5 6 0003.3 6344 3708 Accepted 100
95 5 6 0003.4 6344 3748 Accepted 100
96 5 6 0003.4 6344 3716 Accepted 100
97 5 6 0003.3 6344 3536 Accepted 100
98 5 6 0003.5 6344 3692 Accepted 100
99 5 6 0003.3 6344 3748 Accepted 100
100 5 6 0003.3 6344 3744 Accepted 100
101 5 6 0003.4 6344 3712 Accepted 100
102 5 6 0003.4 6344 3708 Accepted 100
103 5 6 0003.4 6344 3708 Accepted 100
104 5 6 0003.4 6344 3748 Accepted 100
105 5 6 0003.6 6344 3772 Accepted 100
106 5 6 0003.3 6344 3752 Accepted 100
107 5 6 0003.5 6344 3748 Accepted 100
108 5 6 0003.3 6344 3768 Accepted 100
109 5 6 0003.4 6344 3768 Accepted 100
110 5 6 0003.6 6344 3660 Accepted 100
111 5 6 0003.5 6344 3584 Accepted 100
112 5 6 0003.1 6212 3636 Accepted 100
113 5 6 0002.8 6212 3472 Accepted 100
114 6 0018.8 9644 7116 Accepted 100
115 6 0071.3 19976 17160 Accepted 100
116 6 0140.6 33836 30964 Accepted 100
117 6 0170.2 38076 35260 Accepted 100
118 6 0169.5 38500 35732 Accepted 100
119 6 0173.7 38544 35728 Accepted 100
120 6 0392.2 78004 74472 Accepted 100
121 6 0627.4 81020 76124 Accepted 100
122 6 0630.0 81028 76040 Accepted 100
123 6 0640.0 81056 76068 Accepted 100
124 6 0637.1 81040 76048 Accepted 100
125 6 0626.3 81040 76136 Accepted 100
126 6 0635.6 81032 76024 Accepted 100
127 6 0628.4 81036 76048 Accepted 100
128 6 0638.1 81108 76056 Accepted 100
129 6 0641.2 81640 76668 Accepted 100
130 6 0744.7 87604 82444 Accepted 100
131 6 1167.9 113880 110832 Accepted 100
132 6 1176.9 113960 110724 Accepted 100
133 6 1154.9 113904 110680 Accepted 100
134 6 1156.6 113944 110680 Accepted 100
135 6 0528.3 60936 58016 Accepted 100
136 6 0542.5 60936 58080 Accepted 100
137 6 0535.1 60940 58112 Accepted 100
138 6 0543.5 60940 58084 Accepted 100
139 6 0543.0 60936 57976 Accepted 100
140 6 0540.8 60932 58112 Accepted 100
141 6 0549.2 60940 58124 Accepted 100
142 6 0545.8 60936 58108 Accepted 100
143 6 0537.1 60936 58100 Accepted 100
144 6 0548.9 60936 58000 Accepted 100
145 6 0539.0 60936 57952 Accepted 100
146 6 0540.3 60936 57984 Accepted 100
147 6 0528.7 60936 57976 Accepted 100
148 6 0514.1 60936 58112 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.22 KB
Back to Top