Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

93410
173600
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~18 $k=2$ 8 / 8
3 19~33 $k=n-1$ 12 / 12
4 0~1, 34~53 $n\le 400$ 10 / 10
5 0~1, 34~73 $n\le 5000$ 14 / 14
6 0~18, 74~93 $k\le 800$ 24 / 24
7 0~123 無額外限制 32 / 32

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 6 7 0039.9 29652 26908 Accepted 100
1 1 4 5 6 7 0036.3 29652 26984 Accepted 100
2 2 6 7 0042.7 29652 26912 Accepted 100
3 2 6 7 0037.5 29652 26924 Accepted 100
4 2 6 7 1362.3 156356 153916 Accepted 100
5 2 6 7 1429.4 176176 173600 Accepted 100
6 2 6 7 1417.1 166512 163868 Accepted 100
7 2 6 7 1344.0 138856 136276 Accepted 100
8 2 6 7 1469.0 172788 170272 Accepted 100
9 2 6 7 1485.1 155144 152620 Accepted 100
10 2 6 7 1460.7 156996 154388 Accepted 100
11 2 6 7 1409.6 151388 148940 Accepted 100
12 2 6 7 1428.2 165748 163144 Accepted 100
13 2 6 7 1469.3 146064 143540 Accepted 100
14 2 6 7 1415.2 140820 138240 Accepted 100
15 2 6 7 1464.0 146444 143928 Accepted 100
16 2 6 7 1404.6 155920 153444 Accepted 100
17 2 6 7 1450.8 169624 167136 Accepted 100
18 2 6 7 1480.3 145224 142764 Accepted 100
19 3 7 0698.8 77224 73524 Accepted 100
20 3 7 0710.6 77224 73524 Accepted 100
21 3 7 0758.5 77224 73440 Accepted 100
22 3 7 0726.8 77224 73356 Accepted 100
23 3 7 0741.3 77224 73436 Accepted 100
24 3 7 0742.1 77224 73360 Accepted 100
25 3 7 0729.2 77224 73368 Accepted 100
26 3 7 0685.1 77224 73460 Accepted 100
27 3 7 0743.6 77224 73440 Accepted 100
28 3 7 0697.1 77224 73524 Accepted 100
29 3 7 0738.9 77224 73392 Accepted 100
30 3 7 0752.7 77224 73512 Accepted 100
31 3 7 0713.6 77224 73460 Accepted 100
32 3 7 0744.9 77224 73364 Accepted 100
33 3 7 0746.4 77224 73536 Accepted 100
34 4 5 7 0046.7 29652 27020 Accepted 100
35 4 5 7 0038.1 29652 27084 Accepted 100
36 4 5 7 0038.3 29652 26828 Accepted 100
37 4 5 7 0038.6 29652 26928 Accepted 100
38 4 5 7 0038.2 29652 26984 Accepted 100
39 4 5 7 0039.3 29652 26976 Accepted 100
40 4 5 7 0039.2 29652 27084 Accepted 100
41 4 5 7 0047.1 29652 27020 Accepted 100
42 4 5 7 0038.8 29652 27028 Accepted 100
43 4 5 7 0037.7 29652 26972 Accepted 100
44 4 5 7 0040.4 29652 27044 Accepted 100
45 4 5 7 0037.1 29652 26904 Accepted 100
46 4 5 7 0039.0 29652 26992 Accepted 100
47 4 5 7 0038.2 29652 27032 Accepted 100
48 4 5 7 0039.3 29652 27032 Accepted 100
49 4 5 7 0039.0 29652 26908 Accepted 100
50 4 5 7 0038.8 29652 26908 Accepted 100
51 4 5 7 0038.5 29652 27036 Accepted 100
52 4 5 7 0039.0 29652 27036 Accepted 100
53 4 5 7 0038.3 29652 26800 Accepted 100
54 5 7 0043.3 30180 27452 Accepted 100
55 5 7 0042.7 30180 27452 Accepted 100
56 5 7 0045.5 30180 27464 Accepted 100
57 5 7 0043.7 30180 27508 Accepted 100
58 5 7 0043.0 30180 27460 Accepted 100
59 5 7 0043.0 30180 27460 Accepted 100
60 5 7 0042.2 30180 27456 Accepted 100
61 5 7 0041.8 30180 27460 Accepted 100
62 5 7 0043.4 30180 27300 Accepted 100
63 5 7 0041.2 30180 27564 Accepted 100
64 5 7 0052.3 30180 27504 Accepted 100
65 5 7 0043.5 30180 27392 Accepted 100
66 5 7 0043.2 30180 27504 Accepted 100
67 5 7 0045.0 30180 27488 Accepted 100
68 5 7 0041.5 30180 27496 Accepted 100
69 5 7 0043.0 30180 27508 Accepted 100
70 5 7 0053.5 30180 27472 Accepted 100
71 5 7 0043.4 30180 27496 Accepted 100
72 5 7 0042.0 30180 27496 Accepted 100
73 5 7 0051.4 30180 27540 Accepted 100
74 6 7 1239.2 80160 77712 Accepted 100
75 6 7 1219.2 80148 77576 Accepted 100
76 6 7 1218.9 80384 77924 Accepted 100
77 6 7 1238.1 80160 77664 Accepted 100
78 6 7 1205.5 80252 77600 Accepted 100
79 6 7 1260.8 80052 77604 Accepted 100
80 6 7 1241.4 80304 77864 Accepted 100
81 6 7 1189.3 80096 77700 Accepted 100
82 6 7 1218.8 80360 77864 Accepted 100
83 6 7 1191.8 80076 77620 Accepted 100
84 6 7 1235.4 80308 77848 Accepted 100
85 6 7 1220.8 80088 77588 Accepted 100
86 6 7 1278.1 80276 77820 Accepted 100
87 6 7 1266.3 80156 77700 Accepted 100
88 6 7 1190.8 80336 77940 Accepted 100
89 6 7 1235.2 80088 77644 Accepted 100
90 6 7 1295.9 80304 77864 Accepted 100
91 6 7 1256.4 80144 77688 Accepted 100
92 6 7 1276.0 80332 77936 Accepted 100
93 6 7 1263.1 80060 77608 Accepted 100
94 7 1238.5 80868 78228 Accepted 100
95 7 1203.1 80868 78264 Accepted 100
96 7 1102.4 80868 78264 Accepted 100
97 7 1100.1 80868 78188 Accepted 100
98 7 1155.1 80868 78260 Accepted 100
99 7 1169.7 80868 78224 Accepted 100
100 7 1162.4 80868 78340 Accepted 100
101 7 1088.8 80868 78256 Accepted 100
102 7 1179.3 80868 78264 Accepted 100
103 7 1215.1 87336 84696 Accepted 100
104 7 1141.1 80868 78264 Accepted 100
105 7 1124.8 80868 78328 Accepted 100
106 7 1159.9 80868 78148 Accepted 100
107 7 1097.5 80868 78272 Accepted 100
108 7 1141.8 80868 78260 Accepted 100
109 7 1179.4 80868 78340 Accepted 100
110 7 1222.6 80868 78200 Accepted 100
111 7 1119.3 80868 78208 Accepted 100
112 7 1141.8 80868 78220 Accepted 100
113 7 1197.1 87336 84704 Accepted 100
114 7 1166.9 80868 78188 Accepted 100
115 7 1102.6 80868 78264 Accepted 100
116 7 1118.5 80868 78208 Accepted 100
117 7 1120.9 80868 78264 Accepted 100
118 7 1148.7 80868 78084 Accepted 100
119 7 1096.0 80868 78312 Accepted 100
120 7 1142.1 80868 78244 Accepted 100
121 7 1060.6 80868 78280 Accepted 100
122 7 1152.0 80868 78284 Accepted 100
123 7 1167.0 87336 84696 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.73 KB
Back to Top