Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

47845
102876
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 0002.6 6212 3572 Accepted 100
1 1 4 5 6 7 0002.5 6212 3452 Accepted 100
2 2 6 7 0002.7 6212 3564 Accepted 100
3 2 6 7 0002.5 6212 3560 Accepted 100
4 2 6 7 0704.7 96720 93800 Accepted 100
5 2 6 7 0732.0 105864 102876 Accepted 100
6 2 6 7 0697.5 101408 98504 Accepted 100
7 2 6 7 0691.2 88640 85852 Accepted 100
8 2 6 7 0701.9 104304 101328 Accepted 100
9 2 6 7 0716.7 96160 93084 Accepted 100
10 2 6 7 0709.2 97016 93908 Accepted 100
11 2 6 7 0689.1 94420 91620 Accepted 100
12 2 6 7 0725.9 101052 98116 Accepted 100
13 2 6 7 0681.4 91968 89028 Accepted 100
14 2 6 7 0704.8 89548 86644 Accepted 100
15 2 6 7 0712.9 92144 89184 Accepted 100
16 2 6 7 0692.1 96516 93408 Accepted 100
17 2 6 7 0720.1 102844 100108 Accepted 100
18 2 6 7 0687.9 91580 88736 Accepted 100
19 3 7 0399.6 59288 55820 Accepted 100
20 3 7 0396.0 59288 55844 Accepted 100
21 3 7 0384.1 59288 55844 Accepted 100
22 3 7 0395.6 59288 55924 Accepted 100
23 3 7 0385.1 59288 55892 Accepted 100
24 3 7 0388.0 59288 55976 Accepted 100
25 3 7 0407.0 59288 55992 Accepted 100
26 3 7 0377.9 59288 55840 Accepted 100
27 3 7 0394.8 59288 55984 Accepted 100
28 3 7 0387.6 59288 55816 Accepted 100
29 3 7 0403.4 59288 55840 Accepted 100
30 3 7 0403.1 59288 55844 Accepted 100
31 3 7 0378.6 59288 55804 Accepted 100
32 3 7 0393.9 59288 55968 Accepted 100
33 3 7 0389.4 59288 55960 Accepted 100
34 4 5 7 0002.8 6212 3496 Accepted 100
35 4 5 7 0003.0 6212 3500 Accepted 100
36 4 5 7 0002.9 6212 3616 Accepted 100
37 4 5 7 0002.8 6212 3608 Accepted 100
38 4 5 7 0002.7 6212 3616 Accepted 100
39 4 5 7 0002.9 6212 3632 Accepted 100
40 4 5 7 0002.7 6212 3616 Accepted 100
41 4 5 7 0002.8 6212 3616 Accepted 100
42 4 5 7 0002.8 6212 3624 Accepted 100
43 4 5 7 0003.0 6212 3500 Accepted 100
44 4 5 7 0003.0 6212 3672 Accepted 100
45 4 5 7 0002.9 6212 3608 Accepted 100
46 4 5 7 0002.8 6212 3612 Accepted 100
47 4 5 7 0002.7 6212 3620 Accepted 100
48 4 5 7 0002.8 6212 3580 Accepted 100
49 4 5 7 0002.7 6212 3676 Accepted 100
50 4 5 7 0002.7 6212 3620 Accepted 100
51 4 5 7 0002.8 6212 3612 Accepted 100
52 4 5 7 0002.6 6212 3536 Accepted 100
53 4 5 7 0002.7 6212 3624 Accepted 100
54 5 7 0005.5 6788 3972 Accepted 100
55 5 7 0005.6 6788 3844 Accepted 100
56 5 7 0005.4 6788 3932 Accepted 100
57 5 7 0005.4 6788 3960 Accepted 100
58 5 7 0005.3 6788 3964 Accepted 100
59 5 7 0005.4 6788 3860 Accepted 100
60 5 7 0005.9 6788 3960 Accepted 100
61 5 7 0005.6 6788 3920 Accepted 100
62 5 7 0005.6 6788 3928 Accepted 100
63 5 7 0005.6 6788 4028 Accepted 100
64 5 7 0005.8 6788 3960 Accepted 100
65 5 7 0005.7 6788 3908 Accepted 100
66 5 7 0005.6 6788 4000 Accepted 100
67 5 7 0005.6 6788 3968 Accepted 100
68 5 7 0005.6 6788 3964 Accepted 100
69 5 7 0005.7 6788 3960 Accepted 100
70 5 7 0005.9 6788 3908 Accepted 100
71 5 7 0005.3 6788 4024 Accepted 100
72 5 7 0005.6 6788 3956 Accepted 100
73 5 7 0005.5 6788 3976 Accepted 100
74 6 7 0675.6 61556 58536 Accepted 100
75 6 7 0685.2 61548 58672 Accepted 100
76 6 7 0649.5 61652 58928 Accepted 100
77 6 7 0663.7 61552 58656 Accepted 100
78 6 7 0661.6 61596 58692 Accepted 100
79 6 7 0664.5 61520 58624 Accepted 100
80 6 7 0680.4 61616 58528 Accepted 100
81 6 7 0639.9 61520 58648 Accepted 100
82 6 7 0656.2 61648 58956 Accepted 100
83 6 7 0654.6 61520 58620 Accepted 100
84 6 7 0662.0 61624 58532 Accepted 100
85 6 7 0654.0 61524 58688 Accepted 100
86 6 7 0649.7 61600 58680 Accepted 100
87 6 7 0649.9 61556 58652 Accepted 100
88 6 7 0636.6 61636 58564 Accepted 100
89 6 7 0660.3 61520 58664 Accepted 100
90 6 7 0658.4 61620 58560 Accepted 100
91 6 7 0637.3 61544 58540 Accepted 100
92 6 7 0642.6 61632 58532 Accepted 100
93 6 7 0629.8 61520 58668 Accepted 100
94 7 0598.3 61124 58028 Accepted 100
95 7 0607.7 61124 58160 Accepted 100
96 7 0589.4 61124 58132 Accepted 100
97 7 0611.5 61124 58000 Accepted 100
98 7 0581.4 61124 58004 Accepted 100
99 7 0683.6 61124 58024 Accepted 100
100 7 0607.7 61124 58028 Accepted 100
101 7 0577.2 61124 58032 Accepted 100
102 7 0636.1 61124 58124 Accepted 100
103 7 0610.7 64952 62128 Accepted 100
104 7 0606.6 61124 58096 Accepted 100
105 7 0609.6 61124 58152 Accepted 100
106 7 0649.3 61124 58168 Accepted 100
107 7 0591.4 61124 58140 Accepted 100
108 7 0640.5 61124 58032 Accepted 100
109 7 0605.0 61124 57940 Accepted 100
110 7 0591.0 61124 58168 Accepted 100
111 7 0585.6 61124 57996 Accepted 100
112 7 0619.0 61124 58152 Accepted 100
113 7 0604.5 64952 62104 Accepted 100
114 7 0610.1 61124 58164 Accepted 100
115 7 0599.4 61124 57984 Accepted 100
116 7 0576.7 61124 58140 Accepted 100
117 7 0574.4 61124 58152 Accepted 100
118 7 0568.6 61124 58004 Accepted 100
119 7 0590.5 61124 58000 Accepted 100
120 7 0589.8 61124 58072 Accepted 100
121 7 0570.9 61124 57992 Accepted 100
122 7 0616.7 61124 57988 Accepted 100
123 7 0600.7 64952 61952 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.69 KB
Back to Top