Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25971
33676
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 6220 3612 Accepted 100
1 1 4 5 0002.7 6220 3708 Accepted 100
2 1 4 5 0002.7 6220 3532 Accepted 100
3 2 3 4 5 0002.7 6220 3572 Accepted 100
4 2 3 4 5 0007.3 6636 4088 Accepted 100
5 2 3 4 5 0002.5 6220 3376 Accepted 100
6 2 3 4 5 0002.7 6220 3596 Accepted 100
7 2 3 4 5 0004.2 6352 3820 Accepted 100
8 2 3 4 5 0007.3 6636 4092 Accepted 100
9 2 3 4 5 0007.3 6636 4072 Accepted 100
10 2 3 5 0483.2 36684 33648 Accepted 100
11 2 3 5 0064.8 11216 8236 Accepted 100
12 2 3 5 0317.3 27680 24672 Accepted 100
13 2 3 5 0482.9 36684 33504 Accepted 100
14 2 3 5 0483.7 36684 33640 Accepted 100
15 2 3 5 0478.5 36684 33664 Accepted 100
16 2 3 5 0471.1 36684 33500 Accepted 100
17 3 4 5 0007.2 6636 4176 Accepted 100
18 3 4 5 0007.3 6636 4092 Accepted 100
19 3 4 5 0007.2 6636 4220 Accepted 100
20 3 4 5 0007.0 6636 4108 Accepted 100
21 3 4 5 0007.0 6636 4092 Accepted 100
22 3 4 5 0007.1 6636 4024 Accepted 100
23 2 4 5 0007.7 6636 4096 Accepted 100
24 2 4 5 0008.3 6636 4224 Accepted 100
25 2 4 5 0007.8 6636 4220 Accepted 100
26 2 4 5 0007.6 6636 4084 Accepted 100
27 2 4 5 0007.6 6636 4112 Accepted 100
28 2 5 0002.7 6220 3524 Accepted 100
29 2 5 0498.4 36684 33668 Accepted 100
30 2 5 0495.1 36684 33508 Accepted 100
31 2 5 0490.2 36684 33536 Accepted 100
32 2 5 0486.1 36684 33544 Accepted 100
33 2 5 0397.7 36684 33608 Accepted 100
34 2 5 0518.9 36684 33668 Accepted 100
35 2 5 0491.5 36684 33648 Accepted 100
36 2 5 0505.2 36684 33672 Accepted 100
37 2 5 0476.8 36684 33660 Accepted 100
38 2 5 0443.5 36684 33660 Accepted 100
39 2 5 0435.2 36684 33540 Accepted 100
40 2 5 0426.8 36684 33536 Accepted 100
41 2 5 0428.9 36684 33540 Accepted 100
42 3 5 0002.7 6220 3568 Accepted 100
43 3 5 0482.1 36684 33580 Accepted 100
44 3 5 0478.6 36684 33528 Accepted 100
45 3 5 0469.4 36684 33580 Accepted 100
46 3 5 0451.7 36684 33548 Accepted 100
47 3 5 0488.3 36684 33484 Accepted 100
48 3 5 0483.6 36684 33540 Accepted 100
49 3 5 0483.4 36684 33540 Accepted 100
50 3 5 0471.9 36684 33660 Accepted 100
51 4 5 0008.5 6636 4220 Accepted 100
52 4 5 0007.8 6636 4028 Accepted 100
53 4 5 0007.9 6636 4220 Accepted 100
54 4 5 0007.8 6636 4096 Accepted 100
55 4 5 0007.2 6636 3900 Accepted 100
56 4 5 0007.0 6636 3908 Accepted 100
57 4 5 0006.8 6636 3884 Accepted 100
58 4 5 0006.8 6636 3940 Accepted 100
59 4 5 0007.3 6636 3904 Accepted 100
60 4 5 0007.2 6636 3836 Accepted 100
61 4 5 0007.0 6636 3904 Accepted 100
62 4 5 0006.9 6636 3936 Accepted 100
63 4 5 0007.6 6636 4216 Accepted 100
64 4 5 0007.0 6636 4084 Accepted 100
65 4 5 0006.8 6636 3904 Accepted 100
66 4 5 0007.2 6636 4000 Accepted 100
67 5 0145.6 17828 14888 Accepted 100
68 5 0502.8 36684 33676 Accepted 100
69 5 0499.8 36684 33656 Accepted 100
70 5 0502.4 36684 33544 Accepted 100
71 5 0493.8 36684 33632 Accepted 100
72 5 0383.7 36684 33652 Accepted 100
73 5 0388.7 36684 33664 Accepted 100
74 5 0387.7 36684 33536 Accepted 100
75 5 0395.6 36684 33548 Accepted 100
76 5 0512.0 36684 33548 Accepted 100
77 5 0504.7 36684 33488 Accepted 100
78 5 0498.7 36684 33664 Accepted 100
79 5 0492.5 36684 33548 Accepted 100
80 5 0440.1 36684 33508 Accepted 100
81 5 0434.2 36684 33540 Accepted 100
82 5 0426.6 36684 33672 Accepted 100
83 5 0440.7 36684 33668 Accepted 100
84 5 0441.5 36684 33548 Accepted 100
85 5 0438.1 36684 33544 Accepted 100
86 5 0427.1 36684 33544 Accepted 100
87 5 0434.2 36684 33656 Accepted 100
88 5 0486.3 36684 33648 Accepted 100
89 5 0475.9 36684 33540 Accepted 100
90 5 0421.9 36684 33540 Accepted 100
91 5 0506.1 36684 33628 Accepted 100
92 5 0496.6 36684 33672 Accepted 100
93 5 0493.6 36684 33672 Accepted 100
94 5 0483.7 36684 33508 Accepted 100
95 5 0485.2 36684 33508 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.42 KB
Back to Top