Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27520
47764
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 53104 3484 Accepted 100
1 1 4 5 0002.7 53104 3612 Accepted 100
2 1 4 5 0002.7 53104 3620 Accepted 100
3 2 3 4 5 0002.7 53104 3556 Accepted 100
4 2 3 4 5 0008.4 53264 4388 Accepted 100
5 2 3 4 5 0002.8 53104 3592 Accepted 100
6 2 3 4 5 0002.9 53104 3628 Accepted 100
7 2 3 4 5 0004.4 53104 3784 Accepted 100
8 2 3 4 5 0008.0 53264 4340 Accepted 100
9 2 3 4 5 0007.9 53264 4384 Accepted 100
10 2 3 5 0380.1 59292 47564 Accepted 100
11 2 3 5 0061.4 53916 9264 Accepted 100
12 2 3 5 0253.6 56220 28020 Accepted 100
13 2 3 5 0380.5 59292 47716 Accepted 100
14 2 3 5 0369.6 59292 47620 Accepted 100
15 2 3 5 0361.3 59292 47620 Accepted 100
16 2 3 5 0356.7 59292 47752 Accepted 100
17 3 4 5 0007.8 53264 4380 Accepted 100
18 3 4 5 0008.2 53264 4324 Accepted 100
19 3 4 5 0008.1 53264 4324 Accepted 100
20 3 4 5 0007.9 53264 4316 Accepted 100
21 3 4 5 0007.9 53264 4304 Accepted 100
22 3 4 5 0007.8 53264 4448 Accepted 100
23 2 4 5 0008.9 53264 4176 Accepted 100
24 2 4 5 0008.8 53264 4344 Accepted 100
25 2 4 5 0008.7 53264 4256 Accepted 100
26 2 4 5 0008.7 53264 4372 Accepted 100
27 2 4 5 0008.5 53264 4316 Accepted 100
28 2 5 0002.9 53104 3668 Accepted 100
29 2 5 0673.2 59292 47620 Accepted 100
30 2 5 0655.3 59292 47620 Accepted 100
31 2 5 0644.3 59292 47568 Accepted 100
32 2 5 0633.3 59292 47708 Accepted 100
33 2 5 0398.8 59292 47728 Accepted 100
34 2 5 0662.9 59292 47616 Accepted 100
35 2 5 0670.9 59292 47520 Accepted 100
36 2 5 0660.3 59292 47712 Accepted 100
37 2 5 0644.5 59292 47720 Accepted 100
38 2 5 0383.7 59292 47764 Accepted 100
39 2 5 0372.2 59292 47732 Accepted 100
40 2 5 0373.7 59292 47696 Accepted 100
41 2 5 0366.8 59292 47736 Accepted 100
42 3 5 0002.8 53104 3608 Accepted 100
43 3 5 0382.7 59292 47688 Accepted 100
44 3 5 0380.4 59292 47716 Accepted 100
45 3 5 0362.0 59292 47572 Accepted 100
46 3 5 0353.9 59292 47568 Accepted 100
47 3 5 0391.1 59292 47660 Accepted 100
48 3 5 0379.4 59292 47760 Accepted 100
49 3 5 0370.7 59292 47740 Accepted 100
50 3 5 0367.4 59292 47632 Accepted 100
51 4 5 0009.0 53264 4256 Accepted 100
52 4 5 0009.2 53264 4372 Accepted 100
53 4 5 0009.3 53264 4324 Accepted 100
54 4 5 0009.0 53264 4380 Accepted 100
55 4 5 0008.4 53264 4260 Accepted 100
56 4 5 0008.3 53264 4392 Accepted 100
57 4 5 0008.4 53264 4352 Accepted 100
58 4 5 0008.0 53264 4376 Accepted 100
59 4 5 0008.4 53264 4388 Accepted 100
60 4 5 0007.9 53264 4176 Accepted 100
61 4 5 0007.8 53264 4348 Accepted 100
62 4 5 0007.6 53264 4380 Accepted 100
63 4 5 0008.7 53264 4380 Accepted 100
64 4 5 0008.0 53264 4176 Accepted 100
65 4 5 0008.0 53264 4376 Accepted 100
66 4 5 0008.7 53264 4444 Accepted 100
67 5 0198.5 54684 15856 Accepted 100
68 5 0682.3 59292 47612 Accepted 100
69 5 0680.7 59292 47688 Accepted 100
70 5 0663.5 59292 47616 Accepted 100
71 5 0673.4 59292 47760 Accepted 100
72 5 0415.0 59292 47588 Accepted 100
73 5 0411.1 59292 47684 Accepted 100
74 5 0399.5 59292 47712 Accepted 100
75 5 0405.9 59292 47580 Accepted 100
76 5 0676.6 59292 47736 Accepted 100
77 5 0652.5 59292 47620 Accepted 100
78 5 0662.6 59292 47716 Accepted 100
79 5 0652.8 59292 47564 Accepted 100
80 5 0400.2 59292 47764 Accepted 100
81 5 0393.9 59292 47620 Accepted 100
82 5 0383.1 59292 47564 Accepted 100
83 5 0383.7 59292 47760 Accepted 100
84 5 0380.4 59292 47740 Accepted 100
85 5 0386.0 59292 47664 Accepted 100
86 5 0368.9 59292 47720 Accepted 100
87 5 0365.5 59292 47664 Accepted 100
88 5 0644.8 59292 47692 Accepted 100
89 5 0366.9 59292 47624 Accepted 100
90 5 0389.0 59292 47564 Accepted 100
91 5 0680.7 59292 47576 Accepted 100
92 5 0674.4 59292 47684 Accepted 100
93 5 0666.6 59292 47616 Accepted 100
94 5 0652.4 59292 47568 Accepted 100
95 5 0640.6 59292 47760 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
4.79 KB
Back to Top