# Score

95984
725092
Accepted
100

Subtask no. Testdata Range Constraints Score
1 0~5 $2\leq n\leq 10$、$3\leq K \leq 10$、所有數字皆不超過100 9 / 9
2 6~14 $K=3$ 17 / 17
3 15~24 $2\leq n\leq 10^ 3$、所有數字皆不超過$10^ 6$ 18 / 18
4 25~33 $2\leq n\leq 10^ 4$、所有數字皆不超過$10^ 9$ 23 / 23
5 34~42 無額外限制。 33 / 33

# Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 0 3428 Accepted 100
1 1 0 3312 Accepted 100
2 1 0 3392 Accepted 100
3 1 0 3372 Accepted 100
4 1 0 3268 Accepted 100
5 1 0 3232 Accepted 100
6 2 0 3468 Accepted 100
7 2 0 3556 Accepted 100
8 2 0 3440 Accepted 100
9 2 0 3520 Accepted 100
10 2 0 3360 Accepted 100
11 2 11492 725092 Accepted 100
12 2 12672 724032 Accepted 100
13 2 12 4676 Accepted 100
14 2 12 4680 Accepted 100
15 3 0 3484 Accepted 100
16 3 0 3368 Accepted 100
17 3 0 3552 Accepted 100
18 3 0 3472 Accepted 100
19 3 0 3524 Accepted 100
20 3 4 3476 Accepted 100
21 3 4 3572 Accepted 100
22 3 0 3524 Accepted 100
23 3 0 3472 Accepted 100
24 3 0 3328 Accepted 100
25 4 128 11364 Accepted 100
26 4 128 11356 Accepted 100
27 4 124 11280 Accepted 100
28 4 124 11312 Accepted 100
29 4 124 11372 Accepted 100
30 4 128 11340 Accepted 100
31 4 72 11296 Accepted 100
32 4 4 3616 Accepted 100
33 4 4 3504 Accepted 100
34 5 11272 709644 Accepted 100
35 5 11240 714396 Accepted 100
36 5 10904 680028 Accepted 100
37 5 10876 680624 Accepted 100
38 5 10892 685756 Accepted 100
39 5 11084 696276 Accepted 100
40 5 4620 675948 Accepted 100
41 5 40 8692 Accepted 100
42 5 24 4732 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
1.37 KB