Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20580
65788
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 6220 3548 Accepted 100
1 1 0002.7 6220 3484 Accepted 100
2 2 0002.6 6220 3480 Accepted 100
3 2 0002.5 6220 3480 Accepted 100
4 2 0002.5 6220 3488 Accepted 100
5 2 0002.5 6220 3564 Accepted 100
6 2 0002.7 6220 3432 Accepted 100
7 2 0002.6 6220 3508 Accepted 100
8 2 0002.4 6220 3492 Accepted 100
9 2 0003.4 6220 3420 Accepted 100
10 2 0002.4 6220 3448 Accepted 100
11 2 0002.6 6220 3488 Accepted 100
12 2 0002.5 6220 3492 Accepted 100
13 2 0002.6 6220 3484 Accepted 100
14 2 0002.5 6220 3420 Accepted 100
15 2 0003.5 6220 3480 Accepted 100
16 2 0002.5 6220 3420 Accepted 100
17 2 0002.8 6220 3508 Accepted 100
18 2 0002.5 6220 3492 Accepted 100
19 2 0002.6 6220 3488 Accepted 100
20 2 0002.5 6220 3480 Accepted 100
21 2 0002.5 6220 3488 Accepted 100
22 3 0020.6 11700 8592 Accepted 100
23 3 0020.4 11700 8712 Accepted 100
24 3 0026.9 11700 8588 Accepted 100
25 3 0026.6 11700 8708 Accepted 100
26 3 0020.8 11700 8752 Accepted 100
27 3 0025.4 11700 8764 Accepted 100
28 3 0018.8 11700 8644 Accepted 100
29 3 0025.1 11700 8700 Accepted 100
30 3 0025.2 11700 8648 Accepted 100
31 3 0018.7 11700 8596 Accepted 100
32 3 0026.9 11700 8644 Accepted 100
33 3 0025.9 11700 8600 Accepted 100
34 3 0026.9 11700 8712 Accepted 100
35 3 0025.9 11700 8708 Accepted 100
36 3 0025.7 11700 8684 Accepted 100
37 3 0022.3 11700 8760 Accepted 100
38 3 0022.2 11700 8708 Accepted 100
39 3 0022.1 11700 8752 Accepted 100
40 3 0022.2 11700 8756 Accepted 100
41 3 0022.8 11700 8712 Accepted 100
42 4 0242.9 68676 65356 Accepted 100
43 4 0370.5 62600 59328 Accepted 100
44 4 0956.9 67816 64608 Accepted 100
45 4 0768.0 68672 65444 Accepted 100
46 4 0331.9 61692 58572 Accepted 100
47 4 0299.5 68684 65692 Accepted 100
48 4 0811.7 66248 62992 Accepted 100
49 4 0925.6 67616 64348 Accepted 100
50 4 0778.1 68716 65748 Accepted 100
51 4 0583.4 64288 61232 Accepted 100
52 4 0002.5 6220 3508 Accepted 100
53 5 0706.6 68716 65708 Accepted 100
54 5 0831.7 68716 65688 Accepted 100
55 5 0763.3 68676 65472 Accepted 100
56 5 0922.7 68628 65444 Accepted 100
57 5 0264.3 68684 65732 Accepted 100
58 5 0699.1 68740 65616 Accepted 100
59 5 0755.1 68676 65784 Accepted 100
60 5 0755.2 68704 65636 Accepted 100
61 5 0983.6 68640 65404 Accepted 100
62 5 0174.4 60896 57720 Accepted 100
63 5 0688.9 68676 65472 Accepted 100
64 5 0756.4 68684 65772 Accepted 100
65 5 0839.8 68684 65732 Accepted 100
66 5 0974.2 68608 65368 Accepted 100
67 5 0300.9 68708 65772 Accepted 100
68 5 0758.9 68676 65424 Accepted 100
69 5 0828.4 68704 65788 Accepted 100
70 5 0789.6 68736 65712 Accepted 100
71 5 0928.0 68596 65420 Accepted 100
72 5 0258.6 68684 65736 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.28 KB
Back to Top