Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

26654
94056
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.9 6212 3448 Accepted 100
1 1 2 4 5 6 0002.8 6212 3572 Accepted 100
2 1 2 5 6 0002.7 6212 3528 Accepted 100
3 2 5 6 0002.6 6212 3520 Accepted 100
4 2 5 6 0002.8 6212 3568 Accepted 100
5 2 5 6 0002.8 6212 3444 Accepted 100
6 2 5 6 0002.7 6212 3528 Accepted 100
7 2 5 6 0002.6 6212 3580 Accepted 100
8 2 5 6 0002.7 6212 3588 Accepted 100
9 2 5 6 0002.6 6212 3564 Accepted 100
10 2 5 6 0002.7 6212 3564 Accepted 100
11 2 5 6 0002.6 6212 3568 Accepted 100
12 2 5 6 0002.6 6212 3576 Accepted 100
13 2 5 6 0002.6 6212 3632 Accepted 100
14 2 5 6 0002.7 6212 3536 Accepted 100
15 2 5 6 0002.6 6212 3568 Accepted 100
16 2 5 6 0002.7 6212 3564 Accepted 100
17 2 5 6 0003.3 6212 3520 Accepted 100
18 2 5 6 0002.7 6212 3596 Accepted 100
19 2 5 6 0002.6 6212 3524 Accepted 100
20 2 5 6 0002.6 6212 3564 Accepted 100
21 2 5 6 0002.8 6212 3540 Accepted 100
22 2 5 6 0002.7 6212 3564 Accepted 100
23 2 5 6 0002.6 6212 3564 Accepted 100
24 2 5 6 0002.6 6212 3568 Accepted 100
25 2 5 6 0002.7 6212 3568 Accepted 100
26 2 5 6 0002.7 6212 3580 Accepted 100
27 2 5 6 0002.7 6212 3524 Accepted 100
28 2 5 6 0002.7 6212 3544 Accepted 100
29 2 5 6 0002.8 6212 3536 Accepted 100
30 2 5 6 0002.6 6212 3544 Accepted 100
31 2 5 6 0002.8 6212 3588 Accepted 100
32 2 5 6 0002.7 6212 3588 Accepted 100
33 2 5 6 0002.7 6212 3368 Accepted 100
34 2 5 6 0002.6 6212 3360 Accepted 100
35 3 4 5 6 0002.6 6212 3552 Accepted 100
36 3 4 5 6 0002.7 6212 3568 Accepted 100
37 3 4 5 6 0002.7 6212 3508 Accepted 100
38 3 4 5 6 0002.8 6212 3588 Accepted 100
39 3 4 5 6 0003.9 6344 3808 Accepted 100
40 3 4 5 6 0003.6 6344 3828 Accepted 100
41 3 4 6 0483.9 55356 52420 Accepted 100
42 3 4 6 0040.1 13308 10364 Accepted 100
43 3 4 6 0089.4 18940 16020 Accepted 100
44 3 4 6 0325.4 40388 37524 Accepted 100
45 3 4 6 0267.4 36716 33816 Accepted 100
46 3 4 6 0607.7 66600 63484 Accepted 100
47 3 4 6 0601.4 66596 63580 Accepted 100
48 4 5 6 0002.7 6212 3568 Accepted 100
49 4 5 6 0002.7 6212 3560 Accepted 100
50 4 5 6 0002.6 6212 3632 Accepted 100
51 4 5 6 0002.5 6212 3588 Accepted 100
52 4 5 6 0003.6 6344 3728 Accepted 100
53 4 5 6 0003.5 6344 3796 Accepted 100
54 4 5 6 0003.4 6344 3736 Accepted 100
55 4 5 6 0003.6 6344 3756 Accepted 100
56 4 5 6 0002.8 6212 3592 Accepted 100
57 4 5 6 0002.7 6212 3528 Accepted 100
58 4 5 6 0002.6 6212 3640 Accepted 100
59 4 5 6 0003.6 6344 3772 Accepted 100
60 4 5 6 0003.5 6344 3812 Accepted 100
61 4 6 0027.1 10032 7196 Accepted 100
62 4 6 0087.6 16016 12892 Accepted 100
63 4 6 0192.0 23832 20888 Accepted 100
64 4 6 0455.7 41608 38604 Accepted 100
65 4 6 0540.5 45924 42840 Accepted 100
66 4 6 0529.1 45924 43072 Accepted 100
67 4 6 0531.1 45924 42988 Accepted 100
68 4 6 0536.4 45924 43052 Accepted 100
69 4 6 0595.5 66600 63584 Accepted 100
70 4 6 0524.0 45924 43108 Accepted 100
71 5 6 0002.7 6212 3568 Accepted 100
72 5 6 0002.8 6212 3540 Accepted 100
73 5 6 0002.9 6212 3552 Accepted 100
74 5 6 0003.0 6212 3672 Accepted 100
75 5 6 0007.6 6356 3860 Accepted 100
76 5 6 0003.8 6396 3916 Accepted 100
77 5 6 0003.4 6344 3752 Accepted 100
78 5 6 0003.5 6344 3736 Accepted 100
79 5 6 0007.4 6344 3688 Accepted 100
80 5 6 0003.5 6344 3736 Accepted 100
81 5 6 0003.5 6344 3824 Accepted 100
82 5 6 0003.7 6344 3804 Accepted 100
83 5 6 0004.6 6484 3932 Accepted 100
84 5 6 0005.6 6484 3816 Accepted 100
85 5 6 0004.3 6484 3932 Accepted 100
86 5 6 0004.1 6344 3804 Accepted 100
87 5 6 0004.5 6344 3768 Accepted 100
88 5 6 0003.4 6344 3692 Accepted 100
89 5 6 0003.6 6344 3748 Accepted 100
90 5 6 0003.7 6344 3608 Accepted 100
91 5 6 0003.5 6344 3768 Accepted 100
92 5 6 0003.6 6344 3748 Accepted 100
93 5 6 0003.4 6344 3776 Accepted 100
94 5 6 0003.5 6344 3748 Accepted 100
95 5 6 0003.4 6344 3816 Accepted 100
96 5 6 0003.5 6344 3608 Accepted 100
97 5 6 0003.5 6344 3760 Accepted 100
98 5 6 0003.6 6344 3760 Accepted 100
99 5 6 0003.4 6344 3820 Accepted 100
100 5 6 0003.5 6344 3824 Accepted 100
101 5 6 0003.6 6344 3744 Accepted 100
102 5 6 0007.6 6344 3816 Accepted 100
103 5 6 0003.5 6344 3816 Accepted 100
104 5 6 0003.7 6344 3820 Accepted 100
105 5 6 0003.6 6344 3812 Accepted 100
106 5 6 0003.6 6344 3772 Accepted 100
107 5 6 0003.4 6344 3836 Accepted 100
108 5 6 0003.6 6344 3776 Accepted 100
109 5 6 0003.4 6344 3760 Accepted 100
110 5 6 0003.6 6344 3776 Accepted 100
111 5 6 0003.7 6344 3752 Accepted 100
112 5 6 0002.9 6212 3648 Accepted 100
113 5 6 0003.0 6212 3656 Accepted 100
114 6 0019.5 10176 7200 Accepted 100
115 6 0074.3 22268 19336 Accepted 100
116 6 0148.6 38328 35452 Accepted 100
117 6 0180.2 43604 40604 Accepted 100
118 6 0185.7 44136 41140 Accepted 100
119 6 0181.5 44152 41104 Accepted 100
120 6 0428.1 89368 85864 Accepted 100
121 6 0523.5 45924 42684 Accepted 100
122 6 0533.9 45924 43048 Accepted 100
123 6 0551.4 45924 43092 Accepted 100
124 6 0539.5 45924 43100 Accepted 100
125 6 0530.8 45936 43056 Accepted 100
126 6 0537.6 46004 42932 Accepted 100
127 6 0526.2 46112 43024 Accepted 100
128 6 0537.3 46896 43780 Accepted 100
129 6 0550.8 49636 46752 Accepted 100
130 6 0676.7 61168 58408 Accepted 100
131 6 1175.9 96856 93936 Accepted 100
132 6 1216.4 96836 94056 Accepted 100
133 6 1249.3 96840 93940 Accepted 100
134 6 1174.9 96816 93976 Accepted 100
135 6 0589.6 66592 63644 Accepted 100
136 6 0589.0 66600 63688 Accepted 100
137 6 0605.0 66600 63540 Accepted 100
138 6 0597.3 66596 63652 Accepted 100
139 6 0591.2 66596 63688 Accepted 100
140 6 0602.3 66592 63656 Accepted 100
141 6 0597.4 66600 63584 Accepted 100
142 6 0606.8 66600 63528 Accepted 100
143 6 0614.9 66596 63684 Accepted 100
144 6 0586.3 66596 63544 Accepted 100
145 6 0597.2 66596 63584 Accepted 100
146 6 0600.0 66600 63684 Accepted 100
147 6 0603.8 66600 63548 Accepted 100
148 6 0578.7 66596 63580 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.85 KB
Back to Top