Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12123
54648
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資。 0 / 0
2 2~21 $k = n, n \le 10, p = 1$ 15 / 15
3 22~41 $k = n, n \le 10 ^ 5, p = 1$ 25 / 25
4 42~52 $p = 1$ 17 / 17
5 53~72 無額外限制。 43 / 43

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 13856 3888 Accepted 100
1 1 0002.5 13856 3888 Accepted 100
2 2 0002.5 13856 3820 Accepted 100
3 2 0002.5 13856 3832 Accepted 100
4 2 0002.4 13856 3992 Accepted 100
5 2 0002.5 13856 3860 Accepted 100
6 2 0002.5 13856 3828 Accepted 100
7 2 0002.5 13856 3752 Accepted 100
8 2 0002.4 13856 3888 Accepted 100
9 2 0002.4 13856 3856 Accepted 100
10 2 0002.4 13856 3836 Accepted 100
11 2 0002.4 13856 3816 Accepted 100
12 2 0002.5 13856 3836 Accepted 100
13 2 0002.6 13856 3824 Accepted 100
14 2 0002.5 13856 3868 Accepted 100
15 2 0002.4 13856 3784 Accepted 100
16 2 0002.4 13856 3748 Accepted 100
17 2 0002.4 13856 3824 Accepted 100
18 2 0002.4 13856 3992 Accepted 100
19 2 0002.4 13856 3832 Accepted 100
20 2 0002.5 13856 3872 Accepted 100
21 2 0002.5 13856 3836 Accepted 100
22 3 0053.7 18608 9068 Accepted 100
23 3 0053.8 18608 8860 Accepted 100
24 3 0057.3 18608 8864 Accepted 100
25 3 0057.3 18608 8820 Accepted 100
26 3 0055.8 18608 9080 Accepted 100
27 3 0049.5 18608 8932 Accepted 100
28 3 0040.1 18608 8804 Accepted 100
29 3 0049.1 18608 8972 Accepted 100
30 3 0048.7 18608 8804 Accepted 100
31 3 0041.4 18608 8916 Accepted 100
32 3 0046.0 18608 8960 Accepted 100
33 3 0045.0 18608 9068 Accepted 100
34 3 0043.9 18608 8900 Accepted 100
35 3 0046.1 18608 8980 Accepted 100
36 3 0044.1 18608 8948 Accepted 100
37 3 0045.2 18608 8944 Accepted 100
38 3 0045.2 18608 8968 Accepted 100
39 3 0044.5 18608 8936 Accepted 100
40 3 0044.1 18608 8928 Accepted 100
41 3 0044.4 18608 8988 Accepted 100
42 4 0171.3 13856 11588 Accepted 100
43 4 1241.9 50288 45224 Accepted 100
44 4 0590.3 19004 16400 Accepted 100
45 4 0271.3 13856 11556 Accepted 100
46 4 0643.9 55964 50308 Accepted 100
47 4 0228.7 13856 11672 Accepted 100
48 4 0559.0 28508 24932 Accepted 100
49 4 0468.7 20456 17616 Accepted 100
50 4 0261.8 13856 11664 Accepted 100
51 4 0494.9 40256 35812 Accepted 100
52 4 0002.4 13856 3888 Accepted 100
53 5 0252.9 13856 11556 Accepted 100
54 5 0356.3 13856 11644 Accepted 100
55 5 0298.4 13856 11528 Accepted 100
56 5 0508.4 14384 12228 Accepted 100
57 5 0192.8 13856 11660 Accepted 100
58 5 0248.7 13856 11712 Accepted 100
59 5 0268.6 13856 11716 Accepted 100
60 5 0269.4 13856 11696 Accepted 100
61 5 0442.9 14384 12024 Accepted 100
62 5 0508.3 60716 54648 Accepted 100
63 5 0220.3 13856 11628 Accepted 100
64 5 0265.1 13856 11696 Accepted 100
65 5 0322.5 13856 11624 Accepted 100
66 5 0396.9 14384 12060 Accepted 100
67 5 0230.2 13856 11744 Accepted 100
68 5 0276.9 13856 11588 Accepted 100
69 5 0318.8 13856 11592 Accepted 100
70 5 0258.8 13856 11636 Accepted 100
71 5 0355.8 14384 12068 Accepted 100
72 5 0187.3 13856 11692 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.68 KB
Back to Top