Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

15480
40872
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.7 37464 3440 Accepted 100
1 1 0002.5 37464 3608 Accepted 100
2 2 0002.6 37464 3648 Accepted 100
3 2 0002.6 37464 3584 Accepted 100
4 2 0002.5 37464 3648 Accepted 100
5 2 0002.7 37464 3588 Accepted 100
6 2 0002.5 37464 3600 Accepted 100
7 2 0002.5 37464 3540 Accepted 100
8 2 0002.6 37464 3648 Accepted 100
9 2 0002.5 37464 3592 Accepted 100
10 2 0002.4 37464 3588 Accepted 100
11 2 0002.6 37464 3644 Accepted 100
12 2 0002.5 37464 3440 Accepted 100
13 2 0002.5 37464 3604 Accepted 100
14 2 0002.5 37464 3644 Accepted 100
15 2 0002.5 37464 3588 Accepted 100
16 2 0002.5 37464 3576 Accepted 100
17 2 0002.5 37464 3644 Accepted 100
18 2 0002.5 37464 3476 Accepted 100
19 2 0002.5 37464 3604 Accepted 100
20 2 0002.4 37464 3648 Accepted 100
21 2 0002.6 37464 3716 Accepted 100
22 3 0036.7 37464 5956 Accepted 100
23 3 0036.4 37464 6060 Accepted 100
24 3 0042.0 37464 5952 Accepted 100
25 3 0042.1 37464 5932 Accepted 100
26 3 0036.1 37464 5932 Accepted 100
27 3 0040.5 37464 5996 Accepted 100
28 3 0034.4 37464 6060 Accepted 100
29 3 0040.9 37464 5956 Accepted 100
30 3 0041.1 37464 5936 Accepted 100
31 3 0034.9 37464 5932 Accepted 100
32 3 0041.2 37464 5948 Accepted 100
33 3 0041.4 37464 5992 Accepted 100
34 3 0040.7 37464 6060 Accepted 100
35 3 0041.7 37464 5784 Accepted 100
36 3 0041.0 37464 5820 Accepted 100
37 3 0037.2 37464 5924 Accepted 100
38 3 0037.5 37464 5952 Accepted 100
39 3 0037.4 37464 5936 Accepted 100
40 3 0037.4 37464 5828 Accepted 100
41 3 0038.6 37464 5792 Accepted 100
42 4 0309.9 37464 27020 Accepted 100
43 4 0405.5 37464 28800 Accepted 100
44 4 0555.3 37464 33972 Accepted 100
45 4 0503.1 38920 36008 Wrong Answer 0
46 4 0448.8 37464 27824 Wrong Answer 0
47 4 0384.1 37464 27020 Accepted 100
48 4 0531.5 37464 32380 Accepted 100
49 4 0516.1 37464 33792 Wrong Answer 0
50 4 0522.5 37464 34952 Accepted 100
51 4 0466.7 37464 30432 Wrong Answer 0
52 4 0002.5 37464 3588 Accepted 100
53 5 0524.8 38652 35764 Wrong Answer 0
54 5 0564.3 37464 34848 Wrong Answer 0
55 5 0532.8 38652 35664 Wrong Answer 0
56 5 0509.8 37464 34816 Wrong Answer 0
57 5 0389.2 37464 27068 Accepted 100
58 5 0606.7 43904 40872 Wrong Answer 0
59 5 0480.3 37464 34728 Wrong Answer 0
60 5 0490.9 38920 36036 Wrong Answer 0
61 5 0556.2 37464 34740 Wrong Answer 0
62 5 0365.4 37464 26900 Accepted 100
63 5 0486.3 37464 34884 Wrong Answer 0
64 5 0499.7 38920 35836 Accepted 100
65 5 0576.6 37860 34940 Wrong Answer 0
66 5 0565.9 37464 34880 Wrong Answer 0
67 5 0367.1 37464 27036 Accepted 100
68 5 0564.2 37860 35288 Wrong Answer 0
69 5 0558.7 37596 34996 Wrong Answer 0
70 5 0516.6 37464 34824 Accepted 100
71 5 0529.1 37464 34756 Wrong Answer 0
72 5 0314.3 37464 27076 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.74 KB
Back to Top