Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

6708
19496
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 3564 Accepted 100
1 1 0002.9 6212 3576 Accepted 100
2 2 0002.6 6212 3596 Accepted 100
3 2 0004.4 6212 3696 Accepted 100
4 2 0002.5 6212 3592 Accepted 100
5 2 0002.5 6212 3576 Accepted 100
6 2 0002.5 6212 3632 Accepted 100
7 2 0002.5 6212 3636 Accepted 100
8 2 0002.5 6212 3572 Accepted 100
9 2 0002.4 6212 3592 Accepted 100
10 2 0002.4 6212 3576 Accepted 100
11 2 0002.4 6212 3592 Accepted 100
12 2 0002.4 6212 3564 Accepted 100
13 2 0002.4 6212 3644 Accepted 100
14 2 0002.5 6212 3572 Accepted 100
15 2 0002.4 6212 3576 Accepted 100
16 2 0002.4 6212 3576 Accepted 100
17 2 0002.4 6212 3540 Accepted 100
18 2 0002.4 6212 3564 Accepted 100
19 2 0002.4 6212 3632 Accepted 100
20 2 0002.4 6212 3696 Accepted 100
21 2 0002.4 6212 3644 Accepted 100
22 3 0016.0 6996 3956 Accepted 100
23 3 0015.9 6996 4096 Accepted 100
24 3 0021.9 6996 4008 Accepted 100
25 3 0021.7 6996 3912 Accepted 100
26 3 0016.5 6996 4040 Accepted 100
27 3 0022.0 6996 3920 Accepted 100
28 3 0013.9 6996 4024 Accepted 100
29 3 0020.6 6996 3896 Accepted 100
30 3 0020.5 6996 4104 Accepted 100
31 3 0014.1 6996 4092 Accepted 100
32 3 0020.8 6996 3996 Accepted 100
33 3 0021.3 6996 4032 Accepted 100
34 3 0021.8 6996 3964 Accepted 100
35 3 0021.1 6996 3992 Accepted 100
36 3 0020.9 6996 3988 Accepted 100
37 3 0017.2 6996 4068 Accepted 100
38 3 0017.5 6996 3900 Accepted 100
39 3 0016.9 6996 4048 Accepted 100
40 3 0016.6 6996 3948 Accepted 100
41 3 0017.5 6996 3912 Accepted 100
42 4 0185.2 26352 19276 Accepted 100
43 4 0150.3 17136 12996 Accepted 100
44 4 0244.1 26352 19416 Accepted 100
45 4 0174.6 26352 19480 Accepted 100
46 4 0207.5 15604 12040 Accepted 100
47 4 0250.7 26352 19396 Accepted 100
48 4 0238.1 26352 19384 Accepted 100
49 4 0200.4 26356 19372 Accepted 100
50 4 0213.1 26356 19272 Accepted 100
51 4 0181.1 20208 15088 Accepted 100
52 4 0002.7 6212 3636 Accepted 100
53 5 0209.3 26356 19360 Accepted 100
54 5 0260.1 26356 19468 Accepted 100
55 5 0188.9 26352 19280 Accepted 100
56 5 0185.5 26356 19480 Accepted 100
57 5 0218.4 26352 19372 Accepted 100
58 5 0195.1 26360 19388 Accepted 100
59 5 0175.9 26352 19424 Accepted 100
60 5 0179.2 26356 19228 Accepted 100
61 5 0247.2 26356 19368 Accepted 100
62 5 0124.7 14024 10780 Accepted 100
63 5 0181.3 26352 19284 Accepted 100
64 5 0176.1 26352 19464 Accepted 100
65 5 0249.8 26352 19364 Accepted 100
66 5 0245.5 26352 19480 Accepted 100
67 5 0252.2 26356 19356 Accepted 100
68 5 0267.1 26352 19408 Accepted 100
69 5 0251.2 26356 19284 Accepted 100
70 5 0212.9 26360 19496 Accepted 100
71 5 0208.2 26352 19476 Accepted 100
72 5 0200.3 26352 19256 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
974 Bytes
Back to Top