Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13711
7604
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 10116 3636 Accepted 100
1 1 0002.5 10116 3624 Accepted 100
2 2 0002.4 10116 3568 Accepted 100
3 2 0002.6 10116 3596 Accepted 100
4 2 0002.6 10116 3632 Accepted 100
5 2 0002.4 10116 3432 Accepted 100
6 2 0002.8 10116 3628 Accepted 100
7 2 0002.5 10116 3640 Accepted 100
8 2 0002.4 10116 3576 Accepted 100
9 2 0002.5 10116 3640 Accepted 100
10 2 0002.4 10116 3580 Accepted 100
11 2 0002.5 10116 3640 Accepted 100
12 2 0002.5 10116 3596 Accepted 100
13 2 0002.4 10116 3568 Accepted 100
14 2 0002.5 10116 3576 Accepted 100
15 2 0002.5 10116 3412 Accepted 100
16 2 0002.5 10116 3468 Accepted 100
17 2 0002.5 10116 3696 Accepted 100
18 2 0002.5 10116 3560 Accepted 100
19 2 0002.4 10116 3576 Accepted 100
20 2 0002.4 10116 3560 Accepted 100
21 2 0002.5 10116 3644 Accepted 100
22 3 0053.9 10116 4032 Accepted 100
23 3 0054.5 10116 4020 Accepted 100
24 3 0058.5 10116 4032 Accepted 100
25 3 0058.6 10116 4028 Accepted 100
26 3 0054.1 10116 3964 Accepted 100
27 3 0056.0 10116 3860 Accepted 100
28 3 0046.3 10116 4032 Accepted 100
29 3 0055.2 10116 4032 Accepted 100
30 3 0056.0 10116 4024 Accepted 100
31 3 0045.4 10116 3972 Accepted 100
32 3 0041.0 10116 4092 Accepted 100
33 3 0040.7 10116 3980 Accepted 100
34 3 0040.6 10116 3928 Accepted 100
35 3 0041.0 10116 3960 Accepted 100
36 3 0040.9 10116 3984 Accepted 100
37 3 0032.8 10116 3968 Accepted 100
38 3 0033.0 10116 4092 Accepted 100
39 3 0032.4 10116 4028 Accepted 100
40 3 0032.8 10116 3972 Accepted 100
41 3 0033.1 10116 3972 Accepted 100
42 4 0148.5 10116 7468 Accepted 100
43 4 0533.0 10116 7476 Accepted 100
44 4 0561.5 10116 7476 Accepted 100
45 4 0475.1 10116 7364 Accepted 100
46 4 0562.2 10116 7464 Accepted 100
47 4 0207.8 10116 7440 Accepted 100
48 4 0418.4 10116 7468 Accepted 100
49 4 0370.8 10116 7500 Accepted 100
50 4 0284.6 10116 7536 Accepted 100
51 4 0332.5 10116 7500 Accepted 100
52 4 0002.6 10116 3636 Accepted 100
53 5 0616.8 10116 7464 Accepted 100
54 5 0596.9 10116 7600 Accepted 100
55 5 0582.6 10116 7472 Accepted 100
56 5 0538.2 10116 7336 Accepted 100
57 5 0174.1 10116 7492 Accepted 100
58 5 0617.0 10116 7484 Accepted 100
59 5 0473.1 10116 7572 Accepted 100
60 5 0499.1 10116 7544 Accepted 100
61 5 0580.4 10116 7468 Accepted 100
62 5 0440.9 10116 7364 Accepted 100
63 5 0504.9 10116 7496 Accepted 100
64 5 0474.0 10116 7480 Accepted 100
65 5 0442.2 10116 7480 Accepted 100
66 5 0422.6 10116 7496 Accepted 100
67 5 0206.4 10116 7364 Accepted 100
68 5 0464.7 10116 7476 Accepted 100
69 5 0418.2 10116 7480 Accepted 100
70 5 0291.9 10116 7604 Accepted 100
71 5 0344.0 10116 7500 Accepted 100
72 5 0164.4 10116 7456 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.47 KB
Back to Top