Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20510
14928
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 3428 Accepted 100
1 1 0002.4 6212 3640 Accepted 100
2 2 0002.5 6212 3576 Accepted 100
3 2 0002.5 6212 3532 Accepted 100
4 2 0002.5 6212 3632 Accepted 100
5 2 0002.5 6212 3564 Accepted 100
6 2 0002.4 6212 3592 Accepted 100
7 2 0002.4 6212 3564 Accepted 100
8 2 0002.4 6212 3588 Accepted 100
9 2 0002.5 6212 3640 Accepted 100
10 2 0002.5 6212 3580 Accepted 100
11 2 0002.4 6212 3528 Accepted 100
12 2 0002.4 6212 3596 Accepted 100
13 2 0002.4 6212 3576 Accepted 100
14 2 0002.4 6212 3640 Accepted 100
15 2 0002.4 6212 3564 Accepted 100
16 2 0002.5 6212 3596 Accepted 100
17 2 0002.4 6212 3632 Accepted 100
18 2 0002.5 6212 3632 Accepted 100
19 2 0002.4 6212 3704 Accepted 100
20 2 0002.4 6212 3424 Accepted 100
21 2 0002.4 6212 3424 Accepted 100
22 3 0069.0 7420 4316 Accepted 100
23 3 0069.3 7420 4348 Accepted 100
24 3 0073.0 7420 4256 Accepted 100
25 3 0073.3 7420 4300 Accepted 100
26 3 0068.7 7420 4408 Accepted 100
27 3 0070.2 7420 4244 Accepted 100
28 3 0060.7 7420 4208 Accepted 100
29 3 0070.5 7420 4300 Accepted 100
30 3 0071.5 7420 4308 Accepted 100
31 3 0060.3 7420 4204 Accepted 100
32 3 0055.5 7420 4468 Accepted 100
33 3 0057.1 7420 4244 Accepted 100
34 3 0055.9 7420 4420 Accepted 100
35 3 0056.4 7420 4412 Accepted 100
36 3 0055.7 7420 4456 Accepted 100
37 3 0047.5 7420 4252 Accepted 100
38 3 0046.3 7420 4360 Accepted 100
39 3 0047.3 7420 4356 Accepted 100
40 3 0047.4 7420 4388 Accepted 100
41 3 0047.7 7420 4252 Accepted 100
42 4 0185.6 17956 14852 Accepted 100
43 4 0724.3 17956 14924 Accepted 100
44 4 0848.4 17956 14808 Accepted 100
45 4 0754.5 17956 14776 Accepted 100
46 4 0731.3 17964 14780 Accepted 100
47 4 0246.9 17956 14728 Accepted 100
48 4 0661.4 17956 14880 Accepted 100
49 4 0587.3 17964 14748 Accepted 100
50 4 0576.3 17964 14920 Accepted 100
51 4 0521.7 17960 14812 Accepted 100
52 4 0002.5 6212 3580 Accepted 100
53 5 0883.5 17964 14788 Accepted 100
54 5 0896.1 17964 14820 Accepted 100
55 5 0843.9 17956 14720 Accepted 100
56 5 0838.5 17964 14924 Accepted 100
57 5 0219.3 17956 14924 Accepted 100
58 5 0874.1 17968 14824 Accepted 100
59 5 0761.6 17956 14788 Accepted 100
60 5 0757.2 17964 14852 Accepted 100
61 5 0870.3 17964 14848 Accepted 100
62 5 0602.8 17964 14884 Accepted 100
63 5 0758.6 17956 14928 Accepted 100
64 5 0734.1 17960 14876 Accepted 100
65 5 0693.7 17956 14712 Accepted 100
66 5 0689.3 17960 14724 Accepted 100
67 5 0246.4 17964 14848 Accepted 100
68 5 0685.0 17956 14784 Accepted 100
69 5 0697.1 17964 14728 Accepted 100
70 5 0574.6 17968 14816 Accepted 100
71 5 0588.4 17956 14740 Accepted 100
72 5 0198.2 17960 14824 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.4 KB
Back to Top