Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

52242
108640
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.7 6220 3452 Accepted 100
1 1 4 5 6 7 0002.6 6220 3704 Accepted 100
2 2 6 7 0002.7 6220 3568 Accepted 100
3 2 6 7 0002.7 6220 3368 Accepted 100
4 2 6 7 0794.1 100664 97776 Accepted 100
5 2 6 7 0837.4 111336 108640 Accepted 100
6 2 6 7 0781.9 106128 103360 Accepted 100
7 2 6 7 0794.7 91236 88256 Accepted 100
8 2 6 7 0790.1 109508 106628 Accepted 100
9 2 6 7 0817.0 100008 97204 Accepted 100
10 2 6 7 0796.2 101008 98344 Accepted 100
11 2 6 7 0781.3 97984 95052 Accepted 100
12 2 6 7 0814.9 105724 102676 Accepted 100
13 2 6 7 0784.4 95120 92264 Accepted 100
14 2 6 7 0794.9 92292 89280 Accepted 100
15 2 6 7 0793.2 95324 92380 Accepted 100
16 2 6 7 0789.8 100424 97552 Accepted 100
17 2 6 7 0813.0 107804 104820 Accepted 100
18 2 6 7 0765.7 94664 91624 Accepted 100
19 3 7 0403.9 57424 53992 Accepted 100
20 3 7 0403.8 57424 53824 Accepted 100
21 3 7 0385.6 57424 53964 Accepted 100
22 3 7 0403.2 57424 53932 Accepted 100
23 3 7 0385.6 57424 53860 Accepted 100
24 3 7 0405.4 57424 53856 Accepted 100
25 3 7 0427.4 57424 53956 Accepted 100
26 3 7 0384.7 57424 53960 Accepted 100
27 3 7 0399.9 57424 53860 Accepted 100
28 3 7 0387.1 57424 53860 Accepted 100
29 3 7 0399.3 57424 53936 Accepted 100
30 3 7 0421.4 57424 53824 Accepted 100
31 3 7 0389.9 57424 53960 Accepted 100
32 3 7 0396.9 57424 53900 Accepted 100
33 3 7 0381.7 57424 53900 Accepted 100
34 4 5 7 0002.9 6220 3620 Accepted 100
35 4 5 7 0002.9 6220 3652 Accepted 100
36 4 5 7 0002.9 6220 3612 Accepted 100
37 4 5 7 0002.9 6220 3616 Accepted 100
38 4 5 7 0002.9 6220 3620 Accepted 100
39 4 5 7 0003.0 6220 3644 Accepted 100
40 4 5 7 0002.9 6220 3408 Accepted 100
41 4 5 7 0002.8 6220 3644 Accepted 100
42 4 5 7 0003.1 6220 3620 Accepted 100
43 4 5 7 0002.9 6220 3552 Accepted 100
44 4 5 7 0002.8 6220 3560 Accepted 100
45 4 5 7 0002.9 6220 3752 Accepted 100
46 4 5 7 0002.8 6220 3624 Accepted 100
47 4 5 7 0002.9 6220 3704 Accepted 100
48 4 5 7 0002.8 6220 3608 Accepted 100
49 4 5 7 0002.8 6220 3616 Accepted 100
50 4 5 7 0002.8 6220 3604 Accepted 100
51 4 5 7 0002.9 6220 3608 Accepted 100
52 4 5 7 0002.8 6220 3704 Accepted 100
53 4 5 7 0002.9 6220 3496 Accepted 100
54 5 7 0005.8 6784 4100 Accepted 100
55 5 7 0005.8 6784 4108 Accepted 100
56 5 7 0005.5 6784 4236 Accepted 100
57 5 7 0005.4 6784 4104 Accepted 100
58 5 7 0005.5 6784 4196 Accepted 100
59 5 7 0005.6 6784 4028 Accepted 100
60 5 7 0005.5 6784 4036 Accepted 100
61 5 7 0005.4 6784 4108 Accepted 100
62 5 7 0005.6 6784 3900 Accepted 100
63 5 7 0005.7 6804 4252 Accepted 100
64 5 7 0005.8 6784 4108 Accepted 100
65 5 7 0005.6 6784 4040 Accepted 100
66 5 7 0005.4 6784 4112 Accepted 100
67 5 7 0005.6 6784 4036 Accepted 100
68 5 7 0005.5 6784 4108 Accepted 100
69 5 7 0005.8 6784 4104 Accepted 100
70 5 7 0005.7 6784 4108 Accepted 100
71 5 7 0005.4 6784 4104 Accepted 100
72 5 7 0005.5 6784 4104 Accepted 100
73 5 7 0005.7 6804 4160 Accepted 100
74 6 7 0738.6 59636 56860 Accepted 100
75 6 7 0752.0 59628 56728 Accepted 100
76 6 7 0721.0 59756 56860 Accepted 100
77 6 7 0742.8 59636 56908 Accepted 100
78 6 7 0719.9 59680 56880 Accepted 100
79 6 7 0736.3 59576 56880 Accepted 100
80 6 7 0732.4 59716 56872 Accepted 100
81 6 7 0726.9 59596 56892 Accepted 100
82 6 7 0725.8 59740 56880 Accepted 100
83 6 7 0715.3 59592 56884 Accepted 100
84 6 7 0727.3 59716 56856 Accepted 100
85 6 7 0725.0 59600 56728 Accepted 100
86 6 7 0712.8 59692 56904 Accepted 100
87 6 7 0743.3 59636 56864 Accepted 100
88 6 7 0710.8 59728 56732 Accepted 100
89 6 7 0743.0 59596 56856 Accepted 100
90 6 7 0742.6 59716 56844 Accepted 100
91 6 7 0711.6 59624 56896 Accepted 100
92 6 7 0730.3 59728 56692 Accepted 100
93 6 7 0719.0 59584 56888 Accepted 100
94 7 0648.6 59180 56220 Accepted 100
95 7 0644.5 59180 56204 Accepted 100
96 7 0621.6 59180 56364 Accepted 100
97 7 0664.0 59180 56244 Accepted 100
98 7 0616.0 59180 56212 Accepted 100
99 7 0714.9 59180 56348 Accepted 100
100 7 0650.5 59180 56280 Accepted 100
101 7 0629.5 59180 56368 Accepted 100
102 7 0687.2 59180 56212 Accepted 100
103 7 0669.2 63008 59944 Accepted 100
104 7 0638.3 59180 56284 Accepted 100
105 7 0656.4 59180 56212 Accepted 100
106 7 0700.3 59180 56188 Accepted 100
107 7 0648.7 59180 56284 Accepted 100
108 7 0671.7 59180 56380 Accepted 100
109 7 0648.6 59180 56248 Accepted 100
110 7 0639.6 59180 56328 Accepted 100
111 7 0636.7 59180 56356 Accepted 100
112 7 0655.9 59180 56364 Accepted 100
113 7 0666.5 63008 60064 Accepted 100
114 7 0642.9 59180 56348 Accepted 100
115 7 0640.7 59180 56248 Accepted 100
116 7 0625.6 59180 56324 Accepted 100
117 7 0643.8 59180 56312 Accepted 100
118 7 0630.0 59180 56340 Accepted 100
119 7 0646.8 59180 56328 Accepted 100
120 7 0652.9 59180 56244 Accepted 100
121 7 0639.3 59180 56328 Accepted 100
122 7 0671.4 59180 56208 Accepted 100
123 7 0658.9 63008 60060 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.42 KB
Back to Top