Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20316
31740
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~16, 23~41 $x_i=-1$ 19 / 19
3 3~22, 42~50 $p_i=i$ 14 / 14
4 0~9, 17~27, 51~66 $n\le 5000$ 16 / 16
5 0~95 無額外限制 51 / 51

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 0002.7 20272 3496 Accepted 100
1 1 4 5 0002.6 20272 3632 Accepted 100
2 1 4 5 0002.7 20272 3452 Accepted 100
3 2 3 4 5 0002.9 20272 3492 Accepted 100
4 2 3 4 5 0006.3 20536 3904 Accepted 100
5 2 3 4 5 0002.6 20272 3512 Accepted 100
6 2 3 4 5 0002.8 20272 3672 Accepted 100
7 2 3 4 5 0003.9 20272 3692 Accepted 100
8 2 3 4 5 0006.3 20536 3976 Accepted 100
9 2 3 4 5 0006.3 20536 3900 Accepted 100
10 2 3 5 0326.0 34264 31736 Accepted 100
11 2 3 5 0049.8 22648 8188 Accepted 100
12 2 3 5 0224.6 30172 23340 Accepted 100
13 2 3 5 0327.6 34264 31612 Accepted 100
14 2 3 5 0319.4 34264 31556 Accepted 100
15 2 3 5 0312.6 34264 31552 Accepted 100
16 2 3 5 0307.8 34264 31604 Accepted 100
17 3 4 5 0006.1 20536 4036 Accepted 100
18 3 4 5 0006.5 20536 3972 Accepted 100
19 3 4 5 0006.4 20536 3976 Accepted 100
20 3 4 5 0006.1 20536 3972 Accepted 100
21 3 4 5 0006.0 20536 3972 Accepted 100
22 3 4 5 0006.2 20536 3988 Accepted 100
23 2 4 5 0006.9 20536 3964 Accepted 100
24 2 4 5 0006.7 20536 3980 Accepted 100
25 2 4 5 0006.8 20536 3972 Accepted 100
26 2 4 5 0006.5 20536 4108 Accepted 100
27 2 4 5 0006.5 20536 3828 Accepted 100
28 2 5 0002.6 20272 3524 Accepted 100
29 2 5 0462.1 34264 31464 Accepted 100
30 2 5 0454.1 34264 31740 Accepted 100
31 2 5 0439.5 34264 31612 Accepted 100
32 2 5 0423.4 34264 31600 Accepted 100
33 2 5 0302.3 34264 31740 Accepted 100
34 2 5 0456.3 34264 31608 Accepted 100
35 2 5 0449.9 34264 31732 Accepted 100
36 2 5 0439.0 34264 31608 Accepted 100
37 2 5 0432.7 34264 31600 Accepted 100
38 2 5 0320.0 34264 31608 Accepted 100
39 2 5 0315.1 34264 31552 Accepted 100
40 2 5 0313.2 34264 31612 Accepted 100
41 2 5 0305.2 34264 31596 Accepted 100
42 3 5 0002.7 20272 3504 Accepted 100
43 3 5 0333.0 34264 31624 Accepted 100
44 3 5 0321.0 34264 31600 Accepted 100
45 3 5 0305.7 34264 31540 Accepted 100
46 3 5 0295.7 34264 31612 Accepted 100
47 3 5 0324.0 34264 31604 Accepted 100
48 3 5 0321.5 34264 31600 Accepted 100
49 3 5 0312.8 34264 31684 Accepted 100
50 3 5 0309.8 34264 31548 Accepted 100
51 4 5 0007.2 20536 4100 Accepted 100
52 4 5 0006.9 20536 3988 Accepted 100
53 4 5 0006.6 20536 4044 Accepted 100
54 4 5 0006.5 20536 3976 Accepted 100
55 4 5 0006.5 20536 3968 Accepted 100
56 4 5 0006.4 20536 3972 Accepted 100
57 4 5 0006.1 20536 3972 Accepted 100
58 4 5 0006.0 20536 3968 Accepted 100
59 4 5 0006.5 20536 4044 Accepted 100
60 4 5 0006.2 20536 3984 Accepted 100
61 4 5 0006.1 20536 4000 Accepted 100
62 4 5 0006.0 20536 3976 Accepted 100
63 4 5 0006.6 20536 4100 Accepted 100
64 4 5 0006.2 20536 3832 Accepted 100
65 4 5 0006.1 20536 3988 Accepted 100
66 4 5 0006.6 20536 4044 Accepted 100
67 5 0129.6 25552 14236 Accepted 100
68 5 0445.7 34264 31604 Accepted 100
69 5 0449.0 34264 31548 Accepted 100
70 5 0446.4 34264 31684 Accepted 100
71 5 0444.4 34264 31628 Accepted 100
72 5 0283.0 34264 31628 Accepted 100
73 5 0292.2 34264 31604 Accepted 100
74 5 0282.5 34264 31616 Accepted 100
75 5 0286.8 34264 31604 Accepted 100
76 5 0452.0 34264 31668 Accepted 100
77 5 0454.1 34264 31736 Accepted 100
78 5 0436.5 34264 31672 Accepted 100
79 5 0439.0 34264 31612 Accepted 100
80 5 0321.7 34264 31736 Accepted 100
81 5 0314.6 34264 31608 Accepted 100
82 5 0307.5 34264 31600 Accepted 100
83 5 0302.1 34264 31540 Accepted 100
84 5 0322.0 34264 31608 Accepted 100
85 5 0322.4 34264 31604 Accepted 100
86 5 0308.9 34264 31604 Accepted 100
87 5 0302.1 34264 31540 Accepted 100
88 5 0428.6 34264 31516 Accepted 100
89 5 0316.5 34264 31688 Accepted 100
90 5 0306.7 34264 31600 Accepted 100
91 5 0440.3 34264 31624 Accepted 100
92 5 0453.0 34264 31632 Accepted 100
93 5 0453.3 34264 31624 Accepted 100
94 5 0436.8 34264 31600 Accepted 100
95 5 0416.5 34264 31612 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.28 KB
Back to Top