Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20147
159636
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.7 185732 3672 Accepted 100
1 1 0002.5 185732 3684 Accepted 100
2 2 0002.7 185732 3672 Accepted 100
3 2 0002.7 185732 3680 Accepted 100
4 2 0002.6 185732 3680 Accepted 100
5 2 0002.5 185732 3656 Accepted 100
6 2 0002.7 185732 3676 Accepted 100
7 2 0002.4 185732 3564 Accepted 100
8 2 0002.5 185732 3580 Accepted 100
9 2 0002.4 185732 3676 Accepted 100
10 2 0002.4 185732 3564 Accepted 100
11 2 0002.6 185732 3684 Accepted 100
12 2 0002.4 185732 3560 Accepted 100
13 2 0002.4 185732 3560 Accepted 100
14 2 0002.5 185732 3648 Accepted 100
15 2 0002.6 185732 3680 Accepted 100
16 2 0002.5 185732 3608 Accepted 100
17 2 0002.7 185732 3564 Accepted 100
18 2 0002.5 185732 3628 Accepted 100
19 2 0002.6 185732 3556 Accepted 100
20 2 0002.5 185732 3652 Accepted 100
21 2 0002.5 185732 3580 Accepted 100
22 3 0057.7 185732 16608 Accepted 100
23 3 0057.1 185732 16752 Accepted 100
24 3 0063.2 185732 16596 Accepted 100
25 3 0062.1 185732 16600 Accepted 100
26 3 0057.5 185732 16652 Accepted 100
27 3 0052.8 185732 16700 Accepted 100
28 3 0047.8 185732 16720 Accepted 100
29 3 0053.7 185732 16608 Accepted 100
30 3 0053.7 185732 16728 Accepted 100
31 3 0047.3 185732 16660 Accepted 100
32 3 0061.9 185732 16636 Accepted 100
33 3 0063.7 185732 16768 Accepted 100
34 3 0062.3 185732 16760 Accepted 100
35 3 0062.1 185732 16756 Accepted 100
36 3 0067.5 185732 16836 Accepted 100
37 3 0058.7 185732 16688 Accepted 100
38 3 0058.6 185732 16676 Accepted 100
39 3 0059.2 185732 16640 Accepted 100
40 3 0062.1 185732 16772 Accepted 100
41 3 0058.6 185732 16768 Accepted 100
42 4 0634.4 185732 159472 Accepted 100
43 4 0610.3 185732 159540 Accepted 100
44 4 0609.8 185732 159320 Accepted 100
45 4 0546.0 185732 159288 Accepted 100
46 4 0596.9 185732 159412 Accepted 100
47 4 0685.2 185732 159456 Accepted 100
48 4 0683.3 185732 159468 Accepted 100
49 4 0701.8 185732 159528 Accepted 100
50 4 0629.9 185732 159636 Accepted 100
51 4 0634.0 185732 159508 Accepted 100
52 4 0002.5 185732 3676 Accepted 100
53 5 0637.2 185732 159576 Accepted 100
54 5 0673.5 185732 159572 Accepted 100
55 5 0664.3 185732 159484 Accepted 100
56 5 0630.9 185732 159532 Accepted 100
57 5 0687.6 185732 159492 Accepted 100
58 5 0651.4 185732 159456 Accepted 100
59 5 0531.1 185732 159436 Accepted 100
60 5 0540.5 185732 159452 Accepted 100
61 5 0632.3 185732 159532 Accepted 100
62 5 0524.7 185732 159552 Accepted 100
63 5 0545.8 185732 159400 Accepted 100
64 5 0553.2 185732 159352 Accepted 100
65 5 0697.4 185732 159496 Accepted 100
66 5 0674.3 185732 159400 Accepted 100
67 5 0679.0 185732 159436 Accepted 100
68 5 0691.3 185732 159288 Accepted 100
69 5 0682.1 185732 159528 Accepted 100
70 5 0623.3 185732 159476 Accepted 100
71 5 0637.5 185732 159316 Accepted 100
72 5 0631.6 185732 159356 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
960 Bytes
Back to Top