Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

10577
52072
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 0001.3 16380 1204 Accepted 100
1 1 4 5 6 7 0001.3 16380 1208 Accepted 100
2 2 6 7 0001.4 16380 1208 Accepted 100
3 2 6 7 0001.3 16380 1196 Accepted 100
4 2 6 7 0218.9 45688 44452 Accepted 100
5 2 6 7 0219.8 53312 52072 Accepted 100
6 2 6 7 0214.3 49596 48256 Accepted 100
7 2 6 7 0204.6 38960 37664 Accepted 100
8 2 6 7 0223.2 52012 50676 Accepted 100
9 2 6 7 0210.7 45224 43936 Accepted 100
10 2 6 7 0225.8 45936 44640 Accepted 100
11 2 6 7 0211.7 43780 42464 Accepted 100
12 2 6 7 0225.3 49308 47972 Accepted 100
13 2 6 7 0202.6 41736 40400 Accepted 100
14 2 6 7 0215.0 39720 38500 Accepted 100
15 2 6 7 0214.2 41880 40556 Accepted 100
16 2 6 7 0204.3 45524 44236 Accepted 100
17 2 6 7 0222.6 50800 49464 Accepted 100
18 2 6 7 0203.8 41412 40076 Accepted 100
19 3 7 0051.2 16380 15012 Accepted 100
20 3 7 0055.0 16380 15036 Accepted 100
21 3 7 0048.1 16380 15028 Accepted 100
22 3 7 0052.5 16380 15036 Accepted 100
23 3 7 0047.7 16380 15040 Accepted 100
24 3 7 0053.3 16380 14944 Accepted 100
25 3 7 0054.9 16380 14936 Accepted 100
26 3 7 0050.3 16380 14920 Accepted 100
27 3 7 0052.8 16380 14924 Accepted 100
28 3 7 0052.0 16380 14928 Accepted 100
29 3 7 0051.5 16380 14972 Accepted 100
30 3 7 0054.1 16380 14952 Accepted 100
31 3 7 0052.9 16380 14972 Accepted 100
32 3 7 0056.8 16380 15024 Accepted 100
33 3 7 0046.1 16380 15040 Accepted 100
34 4 5 7 0001.4 16380 1224 Accepted 100
35 4 5 7 0001.4 16380 1332 Accepted 100
36 4 5 7 0001.4 16380 1312 Accepted 100
37 4 5 7 0001.4 16380 1256 Accepted 100
38 4 5 7 0001.4 16380 1236 Accepted 100
39 4 5 7 0001.4 16380 1236 Accepted 100
40 4 5 7 0001.3 16380 1332 Accepted 100
41 4 5 7 0001.3 16380 1260 Accepted 100
42 4 5 7 0001.3 16380 1264 Accepted 100
43 4 5 7 0001.3 16380 1260 Accepted 100
44 4 5 7 0001.3 16380 1272 Accepted 100
45 4 5 7 0001.3 16380 1328 Accepted 100
46 4 5 7 0001.4 16380 1228 Accepted 100
47 4 5 7 0001.3 16380 1208 Accepted 100
48 4 5 7 0001.4 16380 1236 Accepted 100
49 4 5 7 0001.3 16380 1332 Accepted 100
50 4 5 7 0001.4 16380 1268 Accepted 100
51 4 5 7 0001.3 16380 1260 Accepted 100
52 4 5 7 0001.3 16380 1312 Accepted 100
53 4 5 7 0001.3 16380 1228 Accepted 100
54 5 7 0002.0 16380 1412 Accepted 100
55 5 7 0001.9 16380 1396 Accepted 100
56 5 7 0001.8 16380 1396 Accepted 100
57 5 7 0001.8 16380 1404 Accepted 100
58 5 7 0001.8 16380 1420 Accepted 100
59 5 7 0001.9 16380 1408 Accepted 100
60 5 7 0001.9 16380 1440 Accepted 100
61 5 7 0001.9 16380 1420 Accepted 100
62 5 7 0002.0 16380 1500 Accepted 100
63 5 7 0001.8 16380 1492 Accepted 100
64 5 7 0001.9 16380 1444 Accepted 100
65 5 7 0001.8 16380 1412 Accepted 100
66 5 7 0001.9 16380 1424 Accepted 100
67 5 7 0001.9 16380 1408 Accepted 100
68 5 7 0001.9 16380 1516 Accepted 100
69 5 7 0001.9 16380 1496 Accepted 100
70 5 7 0001.9 16380 1424 Accepted 100
71 5 7 0001.9 16380 1400 Accepted 100
72 5 7 0002.0 16380 1500 Accepted 100
73 5 7 0001.9 16380 1512 Accepted 100
74 6 7 0161.9 16384 15144 Accepted 100
75 6 7 0155.8 16380 15044 Accepted 100
76 6 7 0160.9 16468 15176 Accepted 100
77 6 7 0158.4 16384 15144 Accepted 100
78 6 7 0160.7 16424 15088 Accepted 100
79 6 7 0157.2 16380 15008 Accepted 100
80 6 7 0168.8 16440 15104 Accepted 100
81 6 7 0156.4 16380 15028 Accepted 100
82 6 7 0162.1 16464 15176 Accepted 100
83 6 7 0147.2 16380 15068 Accepted 100
84 6 7 0152.8 16444 15224 Accepted 100
85 6 7 0149.7 16380 15140 Accepted 100
86 6 7 0158.0 16428 15092 Accepted 100
87 6 7 0162.1 16384 15044 Accepted 100
88 6 7 0146.7 16456 15132 Accepted 100
89 6 7 0151.5 16380 15020 Accepted 100
90 6 7 0159.2 16440 15184 Accepted 100
91 6 7 0157.1 16380 15156 Accepted 100
92 6 7 0158.2 16456 15120 Accepted 100
93 6 7 0149.9 16380 15056 Accepted 100
94 7 0116.2 16380 14924 Accepted 100
95 7 0119.4 16380 15016 Accepted 100
96 7 0108.4 16380 14936 Accepted 100
97 7 0112.9 16380 15024 Accepted 100
98 7 0107.7 16380 15024 Accepted 100
99 7 0113.8 16380 14928 Accepted 100
100 7 0118.2 16380 14964 Accepted 100
101 7 0118.9 16380 14924 Accepted 100
102 7 0107.3 16380 14924 Accepted 100
103 7 0111.3 16380 14960 Accepted 100
104 7 0108.5 16380 14972 Accepted 100
105 7 0112.9 16380 14944 Accepted 100
106 7 0108.8 16380 14976 Accepted 100
107 7 0105.9 16380 15024 Accepted 100
108 7 0109.8 16380 14928 Accepted 100
109 7 0110.6 16380 14936 Accepted 100
110 7 0110.6 16380 15020 Accepted 100
111 7 0114.9 16380 14968 Accepted 100
112 7 0113.3 16380 15020 Accepted 100
113 7 0109.8 16380 14924 Accepted 100
114 7 0112.3 16380 15012 Accepted 100
115 7 0109.7 16380 14944 Accepted 100
116 7 0106.2 16380 15020 Accepted 100
117 7 0112.4 16380 14980 Accepted 100
118 7 0110.2 16380 14976 Accepted 100
119 7 0116.6 16380 14932 Accepted 100
120 7 0116.3 16380 15024 Accepted 100
121 7 0112.1 16380 14936 Accepted 100
122 7 0132.9 16380 14936 Accepted 100
123 7 0109.3 16380 14916 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.03 KB
Back to Top