Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

42689
97080
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 0032.3 47172 28028 Accepted 100
1 1 4 5 6 7 0033.0 47172 28084 Accepted 100
2 2 6 7 0032.4 47172 28080 Accepted 100
3 2 6 7 0032.4 47172 28144 Accepted 100
4 2 6 7 0626.8 87988 76740 Accepted 100
5 2 6 7 0639.6 104336 93292 Accepted 100
6 2 6 7 0628.6 105392 94280 Accepted 100
7 2 6 7 0615.4 90472 79308 Accepted 100
8 2 6 7 0616.5 104880 93856 Accepted 100
9 2 6 7 0622.5 90216 79052 Accepted 100
10 2 6 7 0639.5 103428 92404 Accepted 100
11 2 6 7 0611.6 91004 79840 Accepted 100
12 2 6 7 0620.7 92536 81444 Accepted 100
13 2 6 7 0607.9 90704 79624 Accepted 100
14 2 6 7 0643.6 108164 97080 Accepted 100
15 2 6 7 0646.9 96048 85004 Accepted 100
16 2 6 7 0620.0 102104 91008 Accepted 100
17 2 6 7 0645.4 103084 92000 Accepted 100
18 2 6 7 0611.1 100712 89672 Accepted 100
19 3 7 0347.3 66864 54936 Accepted 100
20 3 7 0355.0 66864 54936 Accepted 100
21 3 7 0338.5 66864 54936 Accepted 100
22 3 7 0349.7 66864 54888 Accepted 100
23 3 7 0322.6 66864 54940 Accepted 100
24 3 7 0348.9 66864 54936 Accepted 100
25 3 7 0354.9 66864 54936 Accepted 100
26 3 7 0328.0 66864 55000 Accepted 100
27 3 7 0340.4 66864 54984 Accepted 100
28 3 7 0328.6 66864 54916 Accepted 100
29 3 7 0344.4 66864 54980 Accepted 100
30 3 7 0355.5 66864 54908 Accepted 100
31 3 7 0331.1 66864 54904 Accepted 100
32 3 7 0342.8 66864 55008 Accepted 100
33 3 7 0334.0 66864 54944 Accepted 100
34 4 5 7 0032.7 47172 28096 Accepted 100
35 4 5 7 0032.7 47172 28100 Accepted 100
36 4 5 7 0033.0 47172 28160 Accepted 100
37 4 5 7 0032.2 47172 28140 Accepted 100
38 4 5 7 0032.4 47172 28228 Accepted 100
39 4 5 7 0032.5 47172 28132 Accepted 100
40 4 5 7 0032.3 47172 28048 Accepted 100
41 4 5 7 0032.6 47172 28116 Accepted 100
42 4 5 7 0032.3 47172 28176 Accepted 100
43 4 5 7 0032.6 47172 28096 Accepted 100
44 4 5 7 0032.6 47172 28136 Accepted 100
45 4 5 7 0032.7 47172 28100 Accepted 100
46 4 5 7 0032.3 47172 28232 Accepted 100
47 4 5 7 0033.4 47172 28156 Accepted 100
48 4 5 7 0033.3 47172 27956 Accepted 100
49 4 5 7 0032.9 47172 27956 Accepted 100
50 4 5 7 0033.1 47172 28128 Accepted 100
51 4 5 7 0032.0 47172 28100 Accepted 100
52 4 5 7 0032.8 47172 28120 Accepted 100
53 4 5 7 0032.5 47172 28172 Accepted 100
54 5 7 0035.5 47304 28404 Accepted 100
55 5 7 0034.7 47304 28204 Accepted 100
56 5 7 0033.1 47304 28480 Accepted 100
57 5 7 0035.2 47304 28340 Accepted 100
58 5 7 0035.3 47304 28344 Accepted 100
59 5 7 0034.5 47304 28372 Accepted 100
60 5 7 0035.7 47304 28340 Accepted 100
61 5 7 0034.9 47304 28408 Accepted 100
62 5 7 0034.9 47304 28372 Accepted 100
63 5 7 0035.0 47304 28404 Accepted 100
64 5 7 0035.0 47304 28348 Accepted 100
65 5 7 0034.9 47304 28384 Accepted 100
66 5 7 0033.5 47304 28408 Accepted 100
67 5 7 0035.5 47304 28380 Accepted 100
68 5 7 0035.5 47304 28432 Accepted 100
69 5 7 0034.9 47304 28404 Accepted 100
70 5 7 0034.8 47304 28284 Accepted 100
71 5 7 0035.5 47304 28344 Accepted 100
72 5 7 0034.7 47304 28480 Accepted 100
73 5 7 0035.7 47304 28404 Accepted 100
74 6 7 0577.2 62840 51816 Accepted 100
75 6 7 0559.4 62752 51656 Accepted 100
76 6 7 0562.2 62812 51744 Accepted 100
77 6 7 0559.3 62748 51616 Accepted 100
78 6 7 0543.0 62840 51812 Accepted 100
79 6 7 0565.7 62748 51716 Accepted 100
80 6 7 0567.6 62916 51880 Accepted 100
81 6 7 0542.3 62748 51672 Accepted 100
82 6 7 0551.7 62880 51808 Accepted 100
83 6 7 0557.2 62752 51664 Accepted 100
84 6 7 0569.5 62824 51588 Accepted 100
85 6 7 0570.7 62748 51772 Accepted 100
86 6 7 0553.2 62796 51736 Accepted 100
87 6 7 0564.6 62764 51728 Accepted 100
88 6 7 0554.4 62968 51956 Accepted 100
89 6 7 0565.9 62752 51684 Accepted 100
90 6 7 0562.8 62848 51788 Accepted 100
91 6 7 0550.7 62748 51680 Accepted 100
92 6 7 0566.0 62900 51864 Accepted 100
93 6 7 0545.2 62756 51744 Accepted 100
94 7 0523.5 65784 54592 Accepted 100
95 7 0518.2 65784 54604 Accepted 100
96 7 0498.3 65784 54572 Accepted 100
97 7 0508.7 65784 54600 Accepted 100
98 7 0494.8 65784 54640 Accepted 100
99 7 0515.6 65784 54580 Accepted 100
100 7 0526.8 65784 54596 Accepted 100
101 7 0510.4 65784 54584 Accepted 100
102 7 0503.7 65784 54640 Accepted 100
103 7 0510.5 68688 57420 Accepted 100
104 7 0522.2 65784 54644 Accepted 100
105 7 0518.3 65784 54572 Accepted 100
106 7 0499.2 65784 54568 Accepted 100
107 7 0505.5 65784 54640 Accepted 100
108 7 0495.2 65784 54640 Accepted 100
109 7 0506.6 65784 54524 Accepted 100
110 7 0511.0 65784 54592 Accepted 100
111 7 0504.6 65784 54512 Accepted 100
112 7 0513.0 65784 54596 Accepted 100
113 7 0518.3 68688 57464 Accepted 100
114 7 0517.7 65784 54568 Accepted 100
115 7 0525.2 65784 54600 Accepted 100
116 7 0507.3 65784 54596 Accepted 100
117 7 0528.2 65784 54540 Accepted 100
118 7 0502.7 65784 54568 Accepted 100
119 7 0516.8 65784 54596 Accepted 100
120 7 0517.4 65784 54424 Accepted 100
121 7 0656.7 65784 54708 Accepted 100
122 7 0520.9 65784 54572 Accepted 100
123 7 0504.0 68688 57456 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.07 KB
Back to Top