Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

47430
72196
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 0017.1 27700 15140 Accepted 100
1 1 4 5 6 7 0016.8 27700 15204 Accepted 100
2 2 6 7 0016.7 27700 15152 Accepted 100
3 2 6 7 0016.4 27700 15272 Accepted 100
4 2 6 7 0664.8 69968 67388 Accepted 100
5 2 6 7 0681.7 73544 70908 Accepted 100
6 2 6 7 0676.6 64288 61644 Accepted 100
7 2 6 7 0689.1 64660 62072 Accepted 100
8 2 6 7 0669.0 66996 64408 Accepted 100
9 2 6 7 0688.3 66628 64020 Accepted 100
10 2 6 7 0701.6 71668 69080 Accepted 100
11 2 6 7 0689.8 73040 70472 Accepted 100
12 2 6 7 0682.3 66536 63992 Accepted 100
13 2 6 7 0664.0 66048 63436 Accepted 100
14 2 6 7 0703.1 71332 68716 Accepted 100
15 2 6 7 0693.0 72436 69948 Accepted 100
16 2 6 7 0676.6 72252 69720 Accepted 100
17 2 6 7 0694.7 74780 72196 Accepted 100
18 2 6 7 0679.3 67844 65208 Accepted 100
19 3 7 0385.1 51472 47900 Accepted 100
20 3 7 0399.0 51472 47896 Accepted 100
21 3 7 0372.2 51472 47948 Accepted 100
22 3 7 0391.2 51472 47896 Accepted 100
23 3 7 0360.4 51472 47916 Accepted 100
24 3 7 0386.6 51472 47896 Accepted 100
25 3 7 0392.7 51472 47896 Accepted 100
26 3 7 0366.3 51472 48016 Accepted 100
27 3 7 0390.4 51472 47876 Accepted 100
28 3 7 0366.4 51472 47900 Accepted 100
29 3 7 0390.4 51472 47900 Accepted 100
30 3 7 0383.6 51472 47904 Accepted 100
31 3 7 0371.4 51472 47912 Accepted 100
32 3 7 0380.0 51472 47872 Accepted 100
33 3 7 0359.4 51472 47848 Accepted 100
34 4 5 7 0017.2 27700 15244 Accepted 100
35 4 5 7 0017.2 27700 15256 Accepted 100
36 4 5 7 0016.8 27700 15236 Accepted 100
37 4 5 7 0016.9 27700 15264 Accepted 100
38 4 5 7 0016.3 27700 15244 Accepted 100
39 4 5 7 0016.8 27700 15204 Accepted 100
40 4 5 7 0016.9 27700 15264 Accepted 100
41 4 5 7 0017.1 27700 15168 Accepted 100
42 4 5 7 0016.9 27700 15236 Accepted 100
43 4 5 7 0017.0 27700 15240 Accepted 100
44 4 5 7 0016.6 27700 15196 Accepted 100
45 4 5 7 0017.0 27700 15252 Accepted 100
46 4 5 7 0016.6 27700 15320 Accepted 100
47 4 5 7 0017.5 27700 15200 Accepted 100
48 4 5 7 0016.8 27700 15232 Accepted 100
49 4 5 7 0017.1 27700 15228 Accepted 100
50 4 5 7 0017.0 27700 15220 Accepted 100
51 4 5 7 0017.0 27700 15176 Accepted 100
52 4 5 7 0017.2 27700 15308 Accepted 100
53 4 5 7 0017.1 27700 15320 Accepted 100
54 5 7 0019.5 27964 15564 Accepted 100
55 5 7 0019.7 27964 15496 Accepted 100
56 5 7 0019.4 27964 15560 Accepted 100
57 5 7 0019.4 27964 15568 Accepted 100
58 5 7 0019.7 27964 15636 Accepted 100
59 5 7 0019.5 27964 15560 Accepted 100
60 5 7 0019.7 27964 15568 Accepted 100
61 5 7 0019.1 27964 15644 Accepted 100
62 5 7 0019.6 27964 15492 Accepted 100
63 5 7 0019.5 27964 15760 Accepted 100
64 5 7 0018.9 27964 15564 Accepted 100
65 5 7 0019.6 27964 15628 Accepted 100
66 5 7 0019.3 27964 15696 Accepted 100
67 5 7 0019.4 27964 15556 Accepted 100
68 5 7 0019.2 27964 15568 Accepted 100
69 5 7 0019.5 27964 15508 Accepted 100
70 5 7 0019.3 27964 15424 Accepted 100
71 5 7 0019.4 27964 15428 Accepted 100
72 5 7 0019.6 27964 15696 Accepted 100
73 5 7 0019.4 27964 15624 Accepted 100
74 6 7 0662.7 53704 51144 Accepted 100
75 6 7 0655.6 53704 51052 Accepted 100
76 6 7 0625.9 53704 51088 Accepted 100
77 6 7 0643.5 53704 51024 Accepted 100
78 6 7 0634.5 53704 51156 Accepted 100
79 6 7 0652.6 53704 51148 Accepted 100
80 6 7 0653.7 53720 51140 Accepted 100
81 6 7 0628.5 53704 51084 Accepted 100
82 6 7 0650.2 53704 51168 Accepted 100
83 6 7 0630.4 53704 51040 Accepted 100
84 6 7 0662.5 53704 51076 Accepted 100
85 6 7 0665.8 53704 51120 Accepted 100
86 6 7 0633.2 53704 50948 Accepted 100
87 6 7 0676.2 53704 51080 Accepted 100
88 6 7 0635.4 53704 51200 Accepted 100
89 6 7 0657.2 53704 50928 Accepted 100
90 6 7 0653.8 53704 51084 Accepted 100
91 6 7 0638.2 53704 51140 Accepted 100
92 6 7 0655.6 53704 51108 Accepted 100
93 6 7 0639.9 53704 51048 Accepted 100
94 7 0580.3 53308 50732 Accepted 100
95 7 0588.0 53308 50680 Accepted 100
96 7 0567.6 53308 50608 Accepted 100
97 7 0614.3 53308 50620 Accepted 100
98 7 0565.2 53308 50628 Accepted 100
99 7 0622.5 53308 50464 Accepted 100
100 7 0581.2 53308 50680 Accepted 100
101 7 0563.3 53308 50608 Accepted 100
102 7 0642.4 53308 50624 Accepted 100
103 7 0600.1 57136 54492 Accepted 100
104 7 0593.1 53308 50464 Accepted 100
105 7 0590.0 53308 50616 Accepted 100
106 7 0639.0 53308 50740 Accepted 100
107 7 0574.6 53308 50732 Accepted 100
108 7 0585.8 53308 50608 Accepted 100
109 7 0576.5 53308 50536 Accepted 100
110 7 0582.9 53308 50604 Accepted 100
111 7 0630.7 53308 50584 Accepted 100
112 7 0620.5 53308 50604 Accepted 100
113 7 0602.4 57136 54488 Accepted 100
114 7 0578.8 53308 50604 Accepted 100
115 7 0583.2 53308 50584 Accepted 100
116 7 0573.8 53308 50628 Accepted 100
117 7 0574.2 53308 50628 Accepted 100
118 7 0559.7 53308 50616 Accepted 100
119 7 0591.8 53308 50608 Accepted 100
120 7 0582.4 53308 50624 Accepted 100
121 7 0563.9 53308 50620 Accepted 100
122 7 0608.8 53308 50600 Accepted 100
123 7 0594.4 57136 54504 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.11 KB
Back to Top