Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13564
7636
Wrong Answer
40

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$ 0 / 17
5 53~72 無額外限制。 0 / 43

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.4 9948 3664 Accepted 100
1 1 0002.6 9948 3612 Wrong Answer 0
2 2 0002.5 9948 3664 Accepted 100
3 2 0003.0 9948 3548 Accepted 100
4 2 0002.6 9948 3672 Accepted 100
5 2 0002.4 9948 3496 Accepted 100
6 2 0002.6 9948 3592 Accepted 100
7 2 0002.4 9948 3604 Accepted 100
8 2 0003.3 9948 3568 Accepted 100
9 2 0002.4 9948 3596 Accepted 100
10 2 0003.2 9948 3544 Accepted 100
11 2 0002.6 9948 3668 Accepted 100
12 2 0002.5 9948 3628 Accepted 100
13 2 0002.5 9948 3664 Accepted 100
14 2 0002.3 9948 3544 Accepted 100
15 2 0002.5 9948 3548 Accepted 100
16 2 0002.4 9948 3660 Accepted 100
17 2 0002.4 9948 3656 Accepted 100
18 2 0002.6 9948 3628 Accepted 100
19 2 0002.4 9948 3564 Accepted 100
20 2 0002.5 9948 3604 Accepted 100
21 2 0003.1 9948 3504 Accepted 100
22 3 0043.7 9948 3932 Accepted 100
23 3 0045.5 9948 4024 Accepted 100
24 3 0048.8 9948 4056 Accepted 100
25 3 0049.1 9948 4052 Accepted 100
26 3 0073.3 9948 4020 Accepted 100
27 3 0063.6 9948 3984 Accepted 100
28 3 0033.1 9948 3928 Accepted 100
29 3 0038.4 9948 4052 Accepted 100
30 3 0038.5 9948 4048 Accepted 100
31 3 0032.9 9948 4048 Accepted 100
32 3 0049.2 9948 3896 Accepted 100
33 3 0048.2 9948 4060 Accepted 100
34 3 0047.6 9948 3932 Accepted 100
35 3 0049.1 9948 4016 Accepted 100
36 3 0047.7 9948 3884 Accepted 100
37 3 0045.0 9948 3872 Accepted 100
38 3 0045.2 9948 4016 Accepted 100
39 3 0044.2 9948 3972 Accepted 100
40 3 0044.8 9948 4052 Accepted 100
41 3 0043.2 9948 3888 Accepted 100
42 4 0411.4 9948 7444 Wrong Answer 0
43 4 0408.9 9948 7560 Wrong Answer 0
44 4 0436.2 9948 7440 Wrong Answer 0
45 4 0337.7 9948 7468 Wrong Answer 0
46 4 0405.6 9948 7564 Wrong Answer 0
47 4 0469.1 9948 7400 Wrong Answer 0
48 4 0470.1 9948 7564 Wrong Answer 0
49 4 0434.8 9948 7496 Wrong Answer 0
50 4 0438.7 9948 7408 Wrong Answer 0
51 4 0433.3 9948 7568 Wrong Answer 0
52 4 0002.4 9948 3500 Wrong Answer 0
53 5 0406.2 9948 7404 Wrong Answer 0
54 5 0477.3 9948 7564 Wrong Answer 0
55 5 0409.6 9948 7528 Wrong Answer 0
56 5 0407.7 9948 7532 Wrong Answer 0
57 5 0407.6 9948 7568 Wrong Answer 0
58 5 0407.1 9948 7568 Wrong Answer 0
59 5 0335.9 9948 7568 Wrong Answer 0
60 5 0334.7 9948 7448 Wrong Answer 0
61 5 0403.5 9948 7572 Wrong Answer 0
62 5 0338.6 9948 7448 Accepted 100
63 5 0343.3 9948 7444 Wrong Answer 0
64 5 0348.4 9948 7408 Wrong Answer 0
65 5 0473.7 9948 7508 Wrong Answer 0
66 5 0475.2 9948 7468 Wrong Answer 0
67 5 0470.1 9948 7444 Wrong Answer 0
68 5 0468.2 9948 7492 Wrong Answer 0
69 5 0467.5 9948 7560 Wrong Answer 0
70 5 0435.9 9948 7408 Wrong Answer 0
71 5 0461.7 9948 7448 Wrong Answer 0
72 5 0455.4 9948 7636 Wrong Answer 0
Submitter:
Compiler:
c++17
Code Length:
309 Bytes
Back to Top