Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11680
31412
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.5 25736 3572 Accepted 100
1 1 0002.7 25736 3592 Accepted 100
2 2 0002.6 25736 3576 Accepted 100
3 2 0002.5 25736 3576 Accepted 100
4 2 0002.5 25736 3572 Accepted 100
5 2 0002.4 25736 3400 Accepted 100
6 2 0002.4 25736 3404 Accepted 100
7 2 0002.5 25736 3536 Accepted 100
8 2 0002.5 25736 3572 Accepted 100
9 2 0002.4 25736 3536 Accepted 100
10 2 0002.4 25736 3408 Accepted 100
11 2 0002.5 25736 3592 Accepted 100
12 2 0002.4 25736 3604 Accepted 100
13 2 0002.5 25736 3704 Accepted 100
14 2 0002.5 25736 3572 Accepted 100
15 2 0002.5 25736 3636 Accepted 100
16 2 0002.6 25736 3596 Accepted 100
17 2 0002.4 25736 3636 Accepted 100
18 2 0002.6 25736 3580 Accepted 100
19 2 0002.4 25736 3576 Accepted 100
20 2 0002.5 25736 3568 Accepted 100
21 2 0002.6 25736 3676 Accepted 100
22 3 0024.3 27176 6508 Accepted 100
23 3 0023.8 27168 6544 Accepted 100
24 3 0029.7 27168 6564 Accepted 100
25 3 0029.5 27168 6544 Accepted 100
26 3 0023.7 27176 6616 Accepted 100
27 3 0028.3 27172 6548 Accepted 100
28 3 0022.0 27168 6608 Accepted 100
29 3 0028.4 27176 6380 Accepted 100
30 3 0028.3 27176 6552 Accepted 100
31 3 0022.0 27172 6548 Accepted 100
32 3 0029.2 27176 6572 Accepted 100
33 3 0029.2 27172 6548 Accepted 100
34 3 0029.0 27176 6616 Accepted 100
35 3 0029.0 27168 6600 Accepted 100
36 3 0028.9 27172 6612 Accepted 100
37 3 0025.2 27172 6568 Accepted 100
38 3 0025.5 27168 6372 Accepted 100
39 3 0025.3 27168 6544 Accepted 100
40 3 0025.0 27168 6544 Accepted 100
41 3 0025.5 27172 6568 Accepted 100
42 4 0324.4 41220 31296 Accepted 100
43 4 0269.7 41220 31332 Accepted 100
44 4 0474.1 41224 31280 Accepted 100
45 4 0348.5 41224 31404 Accepted 100
46 4 0305.4 41232 31412 Accepted 100
47 4 0386.9 41224 31312 Accepted 100
48 4 0432.0 41228 31240 Accepted 100
49 4 0413.8 41232 31308 Accepted 100
50 4 0383.5 41232 31276 Accepted 100
51 4 0338.4 41228 31112 Accepted 100
52 4 0002.6 25736 3400 Accepted 100
53 5 0315.8 41232 31344 Accepted 100
54 5 0428.4 41232 31116 Accepted 100
55 5 0347.6 41224 31236 Accepted 100
56 5 0399.2 41228 31348 Accepted 100
57 5 0352.0 41228 31284 Accepted 100
58 5 0311.8 41236 31120 Accepted 100
59 5 0347.7 41224 31300 Accepted 100
60 5 0348.4 41228 31224 Accepted 100
61 5 0472.3 41236 31312 Accepted 100
62 5 0202.1 41236 31260 Accepted 100
63 5 0303.9 41220 31272 Accepted 100
64 5 0345.3 41228 31284 Accepted 100
65 5 0408.9 41228 31284 Accepted 100
66 5 0469.1 41220 31232 Accepted 100
67 5 0390.4 41228 31280 Accepted 100
68 5 0382.9 41216 31336 Accepted 100
69 5 0423.5 41232 31352 Accepted 100
70 5 0399.6 41236 31248 Accepted 100
71 5 0413.4 41224 31280 Accepted 100
72 5 0352.0 41228 31272 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.16 KB
Back to Top