Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14897
27168
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 6212 3596 Accepted 100
1 1 0002.5 6212 3568 Accepted 100
2 2 0002.6 6212 3632 Accepted 100
3 2 0002.5 6212 3528 Accepted 100
4 2 0002.5 6212 3568 Accepted 100
5 2 0002.5 6212 3572 Accepted 100
6 2 0002.5 6212 3596 Accepted 100
7 2 0003.2 6212 3640 Accepted 100
8 2 0002.5 6212 3588 Accepted 100
9 2 0002.5 6212 3632 Accepted 100
10 2 0002.7 6212 3492 Accepted 100
11 2 0002.5 6212 3572 Accepted 100
12 2 0002.4 6212 3576 Accepted 100
13 2 0002.5 6212 3632 Accepted 100
14 2 0002.6 6212 3564 Accepted 100
15 2 0002.5 6212 3528 Accepted 100
16 2 0002.6 6212 3588 Accepted 100
17 2 0002.5 6212 3636 Accepted 100
18 2 0002.5 6212 3572 Accepted 100
19 2 0003.0 6212 3592 Accepted 100
20 2 0002.6 6212 3576 Accepted 100
21 2 0002.4 6212 3556 Accepted 100
22 3 0035.3 8580 5656 Accepted 100
23 3 0036.4 8580 5656 Accepted 100
24 3 0049.8 8620 5688 Accepted 100
25 3 0048.9 8584 5684 Accepted 100
26 3 0035.8 8580 5584 Accepted 100
27 3 0047.0 8584 5556 Accepted 100
28 3 0034.4 8580 5492 Accepted 100
29 3 0047.8 8584 5692 Accepted 100
30 3 0047.2 8584 5552 Accepted 100
31 3 0033.9 8580 5588 Accepted 100
32 3 0045.7 8628 5672 Accepted 100
33 3 0045.0 8632 5512 Accepted 100
34 3 0046.1 8628 5704 Accepted 100
35 3 0045.7 8632 5508 Accepted 100
36 3 0045.1 8632 5556 Accepted 100
37 3 0037.9 8616 5512 Accepted 100
38 3 0039.8 8616 5548 Accepted 100
39 3 0039.1 8616 5488 Accepted 100
40 3 0039.1 8616 5684 Accepted 100
41 3 0038.9 8616 5576 Accepted 100
42 4 1016.9 21860 18752 Accepted 100
43 4 0377.3 28220 25120 Accepted 100
44 4 0477.9 22756 19740 Accepted 100
45 4 0384.4 21860 18692 Accepted 100
46 4 0516.4 29176 26212 Accepted 100
47 4 0477.0 21860 18836 Accepted 100
48 4 0460.9 24456 21444 Accepted 100
49 4 0375.6 23032 19948 Accepted 100
50 4 0365.1 21872 18880 Accepted 100
51 4 0389.6 26548 23600 Accepted 100
52 4 0002.6 6212 3636 Accepted 100
53 5 0499.0 21868 18784 Accepted 100
54 5 0478.3 21872 18880 Accepted 100
55 5 0490.5 21860 18820 Accepted 100
56 5 0334.7 21944 18856 Accepted 100
57 5 0711.6 21860 18844 Accepted 100
58 5 0897.7 21876 18696 Accepted 100
59 5 0327.6 21860 18836 Accepted 100
60 5 0329.4 21868 18684 Accepted 100
61 5 0485.5 21952 18852 Accepted 100
62 5 0386.8 30076 27168 Accepted 100
63 5 0323.6 21860 18872 Accepted 100
64 5 0387.0 21864 18748 Accepted 100
65 5 0500.9 21860 18884 Accepted 100
66 5 0456.6 21940 18768 Accepted 100
67 5 0482.5 21868 18896 Accepted 100
68 5 0489.8 21860 18892 Accepted 100
69 5 0449.1 21868 18832 Accepted 100
70 5 0369.3 21876 18820 Accepted 100
71 5 0374.3 21908 18956 Accepted 100
72 5 0383.5 21864 18880 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.15 KB
Back to Top