Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

31673
40912
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 6216 3520 Accepted 100
1 1 4 5 0002.6 6216 3348 Accepted 100
2 1 4 5 0003.2 6216 3540 Accepted 100
3 2 3 4 5 0002.7 6216 3520 Accepted 100
4 2 3 4 5 0009.3 6884 4048 Accepted 100
5 2 3 4 5 0002.6 6216 3524 Accepted 100
6 2 3 4 5 0003.9 6216 3556 Accepted 100
7 2 3 4 5 0007.1 6480 3896 Accepted 100
8 2 3 4 5 0009.5 6880 4068 Accepted 100
9 2 3 4 5 0012.6 6884 4192 Accepted 100
10 2 3 5 0502.4 47256 40516 Accepted 100
11 2 3 5 0074.0 12668 9476 Accepted 100
12 2 3 5 0357.3 33464 29528 Accepted 100
13 2 3 5 0555.1 47256 40648 Accepted 100
14 2 3 5 0572.5 47256 40560 Accepted 100
15 2 3 5 0591.5 47256 40784 Accepted 100
16 2 3 5 0530.3 47256 40636 Accepted 100
17 3 4 5 0007.9 6884 4068 Accepted 100
18 3 4 5 0008.5 6884 4128 Accepted 100
19 3 4 5 0008.2 6884 4144 Accepted 100
20 3 4 5 0008.1 6884 4072 Accepted 100
21 3 4 5 0007.5 6884 3996 Accepted 100
22 3 4 5 0008.0 6884 4080 Accepted 100
23 2 4 5 0008.8 6884 4068 Accepted 100
24 2 4 5 0008.5 6884 4092 Accepted 100
25 2 4 5 0008.7 6884 3900 Accepted 100
26 2 4 5 0008.4 6884 4052 Accepted 100
27 2 4 5 0008.2 6884 4080 Accepted 100
28 2 5 0002.5 6216 3520 Accepted 100
29 2 5 0644.1 47256 40580 Accepted 100
30 2 5 0639.2 47256 40604 Accepted 100
31 2 5 0628.9 47256 40476 Accepted 100
32 2 5 0632.2 47256 40556 Accepted 100
33 2 5 0465.9 47256 40600 Accepted 100
34 2 5 0655.0 47256 40624 Accepted 100
35 2 5 0665.5 47256 40588 Accepted 100
36 2 5 0678.3 47256 40776 Accepted 100
37 2 5 0619.1 47256 40604 Accepted 100
38 2 5 0523.7 47256 40604 Accepted 100
39 2 5 0539.9 47256 40456 Accepted 100
40 2 5 0566.1 47256 40912 Accepted 100
41 2 5 0517.8 47256 40568 Accepted 100
42 3 5 0002.7 6216 3512 Accepted 100
43 3 5 0506.6 47256 40624 Accepted 100
44 3 5 0489.8 47256 40512 Accepted 100
45 3 5 0485.7 47256 40648 Accepted 100
46 3 5 0475.7 47256 40520 Accepted 100
47 3 5 0547.1 47256 40608 Accepted 100
48 3 5 0563.1 47256 40612 Accepted 100
49 3 5 0592.9 47256 40772 Accepted 100
50 3 5 0529.1 47256 40608 Accepted 100
51 4 5 0008.9 6884 4072 Accepted 100
52 4 5 0008.6 6884 4080 Accepted 100
53 4 5 0008.7 6884 4080 Accepted 100
54 4 5 0008.7 6884 4084 Accepted 100
55 4 5 0008.0 6884 3868 Accepted 100
56 4 5 0007.9 6884 3900 Accepted 100
57 4 5 0008.0 6884 3900 Accepted 100
58 4 5 0007.3 6884 3896 Accepted 100
59 4 5 0008.3 6884 3896 Accepted 100
60 4 5 0007.9 6884 3896 Accepted 100
61 4 5 0008.1 6884 3780 Accepted 100
62 4 5 0007.3 6884 3912 Accepted 100
63 4 5 0008.7 6884 4084 Accepted 100
64 4 5 0007.9 6884 4084 Accepted 100
65 4 5 0007.8 6884 4004 Accepted 100
66 4 5 0008.0 6884 4068 Accepted 100
67 5 0178.4 20808 17400 Accepted 100
68 5 0617.1 47256 40464 Accepted 100
69 5 0653.7 47256 40512 Accepted 100
70 5 0605.0 47256 40580 Accepted 100
71 5 0614.8 47256 40560 Accepted 100
72 5 0464.9 47256 40564 Accepted 100
73 5 0451.4 47256 40460 Accepted 100
74 5 0448.8 47256 40628 Accepted 100
75 5 0446.5 47256 40512 Accepted 100
76 5 0647.7 47256 40572 Accepted 100
77 5 0672.7 47256 40520 Accepted 100
78 5 0671.4 47256 40780 Accepted 100
79 5 0637.0 47256 40552 Accepted 100
80 5 0542.5 47256 40512 Accepted 100
81 5 0548.6 47256 40516 Accepted 100
82 5 0574.8 47256 40872 Accepted 100
83 5 0509.6 47256 40600 Accepted 100
84 5 0516.8 47256 40584 Accepted 100
85 5 0533.3 47256 40460 Accepted 100
86 5 0560.8 47256 40872 Accepted 100
87 5 0507.3 47256 40448 Accepted 100
88 5 0609.5 47256 40508 Accepted 100
89 5 0534.7 47256 40584 Accepted 100
90 5 0511.0 47256 40612 Accepted 100
91 5 0647.3 47256 40580 Accepted 100
92 5 0651.2 47256 40612 Accepted 100
93 5 0640.8 47256 40516 Accepted 100
94 5 0632.6 47256 40576 Accepted 100
95 5 0611.3 47256 40476 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
1.87 KB
Back to Top