Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

55228
51912
Wrong Answer
44

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$ 0 / 24
7 0~123 無額外限制 0 / 32

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 6 7 0002.8 6216 3576 Accepted 100
1 1 4 5 6 7 0003.2 6216 3524 Accepted 100
2 2 6 7 0003.9 6216 3528 Accepted 100
3 2 6 7 0002.7 6216 3524 Accepted 100
4 2 6 7 0779.9 49908 46716 Accepted 100
5 2 6 7 0787.4 49884 46680 Accepted 100
6 2 6 7 0745.1 49872 46692 Accepted 100
7 2 6 7 0771.8 49900 46784 Accepted 100
8 2 6 7 0757.4 49908 46720 Accepted 100
9 2 6 7 0744.2 49912 46616 Accepted 100
10 2 6 7 0774.5 49928 46748 Accepted 100
11 2 6 7 0743.5 49924 46680 Accepted 100
12 2 6 7 0762.7 49900 46720 Accepted 100
13 2 6 7 0740.0 49896 46716 Accepted 100
14 2 6 7 0765.5 49900 46744 Accepted 100
15 2 6 7 0772.6 49892 46760 Accepted 100
16 2 6 7 0737.9 49904 46672 Accepted 100
17 2 6 7 0767.2 49936 46648 Accepted 100
18 2 6 7 0743.3 49880 46720 Accepted 100
19 3 7 0482.3 55012 51132 Accepted 100
20 3 7 0481.5 55012 51168 Accepted 100
21 3 7 0450.3 55012 51044 Accepted 100
22 3 7 0443.3 55012 51060 Accepted 100
23 3 7 0442.8 55012 51184 Accepted 100
24 3 7 0480.9 55012 51088 Accepted 100
25 3 7 0489.2 55012 51092 Accepted 100
26 3 7 0444.1 55012 51192 Accepted 100
27 3 7 0449.1 55012 51168 Accepted 100
28 3 7 0452.6 55012 51224 Accepted 100
29 3 7 0496.2 55012 51076 Accepted 100
30 3 7 0493.5 55012 50984 Accepted 100
31 3 7 0442.6 55012 51132 Accepted 100
32 3 7 0447.4 55012 51168 Accepted 100
33 3 7 0434.0 55012 51164 Accepted 100
34 4 5 7 0002.9 6216 3596 Accepted 100
35 4 5 7 0005.1 6216 3556 Accepted 100
36 4 5 7 0003.0 6216 3672 Accepted 100
37 4 5 7 0003.0 6216 3564 Accepted 100
38 4 5 7 0002.8 6216 3620 Accepted 100
39 4 5 7 0002.7 6216 3552 Accepted 100
40 4 5 7 0002.6 6216 3548 Accepted 100
41 4 5 7 0002.8 6216 3568 Accepted 100
42 4 5 7 0002.9 6216 3548 Accepted 100
43 4 5 7 0002.7 6216 3536 Accepted 100
44 4 5 7 0002.8 6216 3604 Accepted 100
45 4 5 7 0002.9 6216 3568 Accepted 100
46 4 5 7 0003.0 6216 3668 Accepted 100
47 4 5 7 0002.9 6216 3476 Accepted 100
48 4 5 7 0002.6 6216 3560 Accepted 100
49 4 5 7 0002.7 6216 3664 Accepted 100
50 4 5 7 0002.7 6216 3552 Accepted 100
51 4 5 7 0003.0 6216 3576 Accepted 100
52 4 5 7 0002.9 6216 3532 Accepted 100
53 4 5 7 0002.9 6216 3556 Accepted 100
54 5 7 0005.9 6632 3976 Accepted 100
55 5 7 0005.8 6632 3960 Accepted 100
56 5 7 0005.6 6632 3984 Accepted 100
57 5 7 0005.6 6632 3812 Accepted 100
58 5 7 0005.6 6632 3980 Accepted 100
59 5 7 0005.8 6632 3976 Accepted 100
60 5 7 0006.2 6632 3968 Accepted 100
61 5 7 0005.7 6632 3980 Accepted 100
62 5 7 0005.9 6632 3952 Accepted 100
63 5 7 0005.8 6776 4040 Accepted 100
64 5 7 0006.1 6632 3976 Accepted 100
65 5 7 0005.8 6632 3980 Accepted 100
66 5 7 0005.7 6632 3980 Accepted 100
67 5 7 0005.8 6632 3812 Accepted 100
68 5 7 0005.8 6632 3980 Accepted 100
69 5 7 0005.8 6632 3972 Accepted 100
70 5 7 0005.8 6632 4092 Accepted 100
71 5 7 0005.5 6632 3980 Accepted 100
72 5 7 0005.7 6632 3992 Accepted 100
73 5 7 0005.4 6772 4084 Accepted 100
74 6 7 0794.0 49944 46736 Wrong Answer 0
75 6 7 0776.5 49924 46676 Wrong Answer 0
76 6 7 0753.6 49944 46776 Wrong Answer 0
77 6 7 0772.9 49916 46804 Wrong Answer 0
78 6 7 0760.4 49972 47064 Wrong Answer 0
79 6 7 0791.1 49908 46716 Wrong Answer 0
80 6 7 0781.5 49936 46744 Wrong Answer 0
81 6 7 0770.8 49952 46740 Wrong Answer 0
82 6 7 0777.6 49956 46784 Wrong Answer 0
83 6 7 0762.1 49932 46640 Wrong Answer 0
84 6 7 0807.2 49924 46760 Wrong Answer 0
85 6 7 0804.3 49948 46672 Wrong Answer 0
86 6 7 0775.8 49948 46640 Wrong Answer 0
87 6 7 0780.4 49976 47008 Wrong Answer 0
88 6 7 0759.7 49944 46700 Wrong Answer 0
89 6 7 0820.8 49944 46688 Wrong Answer 0
90 6 7 0798.9 49944 46740 Wrong Answer 0
91 6 7 0772.9 49936 46800 Wrong Answer 0
92 6 7 0785.4 49952 46700 Wrong Answer 0
93 6 7 0755.8 49936 46624 Wrong Answer 0
94 7 0703.6 50772 47696 Accepted 100
95 7 0706.1 50768 47608 Accepted 100
96 7 0690.9 50796 47624 Accepted 100
97 7 0698.0 50812 47656 Accepted 100
98 7 0685.1 50792 47624 Accepted 100
99 7 0704.5 50796 47792 Accepted 100
100 7 0710.5 50732 47720 Accepted 100
101 7 0689.4 50772 47696 Accepted 100
102 7 0688.6 50760 47608 Accepted 100
103 7 0714.6 54924 51912 Accepted 100
104 7 0709.7 50788 47656 Accepted 100
105 7 0698.9 50824 47660 Accepted 100
106 7 0685.2 50768 47676 Accepted 100
107 7 0700.0 50768 47640 Accepted 100
108 7 0685.3 50792 47656 Accepted 100
109 7 0712.6 50772 47796 Accepted 100
110 7 0720.9 50764 47752 Accepted 100
111 7 0699.2 50804 47616 Accepted 100
112 7 0702.5 50792 47748 Accepted 100
113 7 0722.3 55004 51776 Accepted 100
114 7 0713.4 50780 47696 Accepted 100
115 7 0715.5 50764 47632 Accepted 100
116 7 0702.9 50804 47724 Accepted 100
117 7 0697.6 50768 47728 Accepted 100
118 7 0696.0 50796 47736 Accepted 100
119 7 0714.1 50776 47672 Accepted 100
120 7 0722.9 50772 47744 Accepted 100
121 7 0696.5 50804 47732 Accepted 100
122 7 0716.3 50768 47620 Accepted 100
123 7 0713.5 54924 51812 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.61 KB
Back to Top