Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

17111
26752
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.6 6212 3500 Accepted 100
1 1 4 5 0002.5 6212 3560 Accepted 100
2 1 4 5 0002.7 6212 3364 Accepted 100
3 2 3 4 5 0002.6 6212 3572 Accepted 100
4 2 3 4 5 0006.3 6628 3840 Accepted 100
5 2 3 4 5 0002.6 6212 3572 Accepted 100
6 2 3 4 5 0002.6 6212 3536 Accepted 100
7 2 3 4 5 0004.1 6344 3724 Accepted 100
8 2 3 4 5 0006.2 6628 3972 Accepted 100
9 2 3 4 5 0006.1 6628 3964 Accepted 100
10 2 3 5 0273.5 29580 26736 Accepted 100
11 2 3 5 0045.0 10156 7036 Accepted 100
12 2 3 5 0188.5 22724 19924 Accepted 100
13 2 3 5 0267.5 29580 26624 Accepted 100
14 2 3 5 0263.9 29580 26564 Accepted 100
15 2 3 5 0254.6 29580 26752 Accepted 100
16 2 3 5 0254.3 29580 26620 Accepted 100
17 3 4 5 0006.0 6628 3836 Accepted 100
18 3 4 5 0006.4 6628 3928 Accepted 100
19 3 4 5 0006.4 6628 3956 Accepted 100
20 3 4 5 0006.1 6628 3964 Accepted 100
21 3 4 5 0006.0 6628 3960 Accepted 100
22 3 4 5 0006.0 6628 3964 Accepted 100
23 2 4 5 0006.5 6628 3968 Accepted 100
24 2 4 5 0006.6 6628 3920 Accepted 100
25 2 4 5 0006.5 6628 3976 Accepted 100
26 2 4 5 0006.3 6628 3896 Accepted 100
27 2 4 5 0006.2 6628 3840 Accepted 100
28 2 5 0002.5 6212 3588 Accepted 100
29 2 5 0386.8 29580 26748 Accepted 100
30 2 5 0373.2 29580 26692 Accepted 100
31 2 5 0361.3 29580 26740 Accepted 100
32 2 5 0354.8 29580 26612 Accepted 100
33 2 5 0258.9 29580 26748 Accepted 100
34 2 5 0378.1 29580 26616 Accepted 100
35 2 5 0386.9 29580 26684 Accepted 100
36 2 5 0383.3 29580 26724 Accepted 100
37 2 5 0370.2 29580 26620 Accepted 100
38 2 5 0273.5 29580 26616 Accepted 100
39 2 5 0271.6 29580 26560 Accepted 100
40 2 5 0260.5 29580 26612 Accepted 100
41 2 5 0256.9 29580 26736 Accepted 100
42 3 5 0002.6 6212 3524 Accepted 100
43 3 5 0273.0 29580 26616 Accepted 100
44 3 5 0263.6 29580 26708 Accepted 100
45 3 5 0248.1 29580 26712 Accepted 100
46 3 5 0241.8 29580 26700 Accepted 100
47 3 5 0269.8 29580 26616 Accepted 100
48 3 5 0263.4 29580 26728 Accepted 100
49 3 5 0258.7 29580 26712 Accepted 100
50 3 5 0252.0 29580 26720 Accepted 100
51 4 5 0006.7 6628 3968 Accepted 100
52 4 5 0006.5 6628 3916 Accepted 100
53 4 5 0006.5 6628 3956 Accepted 100
54 4 5 0006.3 6628 3896 Accepted 100
55 4 5 0006.2 6628 3828 Accepted 100
56 4 5 0006.2 6628 3852 Accepted 100
57 4 5 0006.1 6628 3920 Accepted 100
58 4 5 0006.0 6628 3792 Accepted 100
59 4 5 0006.5 6628 3848 Accepted 100
60 4 5 0006.3 6628 3852 Accepted 100
61 4 5 0006.2 6628 3820 Accepted 100
62 4 5 0005.9 6628 3868 Accepted 100
63 4 5 0006.4 6628 3968 Accepted 100
64 4 5 0005.9 6628 3912 Accepted 100
65 4 5 0006.5 6628 3880 Accepted 100
66 4 5 0006.4 6628 3972 Accepted 100
67 5 0109.7 15076 12224 Accepted 100
68 5 0373.7 29580 26656 Accepted 100
69 5 0376.6 29580 26748 Accepted 100
70 5 0362.2 29580 26656 Accepted 100
71 5 0385.5 29580 26588 Accepted 100
72 5 0260.4 29580 26624 Accepted 100
73 5 0249.2 29580 26724 Accepted 100
74 5 0242.9 29580 26612 Accepted 100
75 5 0246.9 29580 26740 Accepted 100
76 5 0376.9 29580 26736 Accepted 100
77 5 0374.6 29580 26584 Accepted 100
78 5 0361.8 29580 26700 Accepted 100
79 5 0369.2 29580 26684 Accepted 100
80 5 0270.2 29580 26732 Accepted 100
81 5 0271.4 29580 26748 Accepted 100
82 5 0260.7 29580 26680 Accepted 100
83 5 0258.8 29580 26624 Accepted 100
84 5 0273.1 29580 26736 Accepted 100
85 5 0269.7 29580 26568 Accepted 100
86 5 0260.6 29580 26740 Accepted 100
87 5 0256.1 29580 26620 Accepted 100
88 5 0356.7 29580 26600 Accepted 100
89 5 0258.9 29580 26588 Accepted 100
90 5 0265.5 29580 26728 Accepted 100
91 5 0384.5 29580 26680 Accepted 100
92 5 0381.1 29580 26624 Accepted 100
93 5 0395.6 29580 26728 Accepted 100
94 5 0374.0 29580 26728 Accepted 100
95 5 0338.0 29580 26584 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.58 KB
Back to Top