Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

31565
59488
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.8 24972 3624 Accepted 100
1 1 4 5 0002.6 24972 3604 Accepted 100
2 1 4 5 0002.8 24972 3492 Accepted 100
3 2 3 4 5 0002.9 24972 3676 Accepted 100
4 2 3 4 5 0008.5 25612 4140 Accepted 100
5 2 3 4 5 0002.7 24972 3560 Accepted 100
6 2 3 4 5 0003.0 24972 3676 Accepted 100
7 2 3 4 5 0005.0 25132 3860 Accepted 100
8 2 3 4 5 0008.5 25596 4180 Accepted 100
9 2 3 4 5 0008.6 25612 4316 Accepted 100
10 2 3 5 0426.1 62476 59308 Accepted 100
11 2 3 5 0068.2 31228 12728 Accepted 100
12 2 3 5 0292.0 51404 42728 Accepted 100
13 2 3 5 0428.9 62476 59396 Accepted 100
14 2 3 5 0419.6 62476 59420 Accepted 100
15 2 3 5 0415.5 62476 59360 Accepted 100
16 2 3 5 0401.6 62476 59484 Accepted 100
17 3 4 5 0008.4 25612 4268 Accepted 100
18 3 4 5 0009.1 25612 4308 Accepted 100
19 3 4 5 0008.6 25612 4300 Accepted 100
20 3 4 5 0008.9 25612 4144 Accepted 100
21 3 4 5 0008.6 25612 4272 Accepted 100
22 3 4 5 0008.2 25612 4252 Accepted 100
23 2 4 5 0009.6 25612 4300 Accepted 100
24 2 4 5 0009.3 25612 4296 Accepted 100
25 2 4 5 0009.4 25612 4180 Accepted 100
26 2 4 5 0010.4 25612 4292 Accepted 100
27 2 4 5 0009.3 25612 4312 Accepted 100
28 2 5 0002.8 24972 3672 Accepted 100
29 2 5 0795.8 62476 59456 Accepted 100
30 2 5 0778.4 62476 59424 Accepted 100
31 2 5 0759.1 62476 59480 Accepted 100
32 2 5 0755.9 62476 59452 Accepted 100
33 2 5 0445.2 62476 59472 Accepted 100
34 2 5 0785.0 62476 59420 Accepted 100
35 2 5 0779.8 62476 59488 Accepted 100
36 2 5 0787.8 62476 59308 Accepted 100
37 2 5 0775.3 62476 59352 Accepted 100
38 2 5 0424.0 62476 59484 Accepted 100
39 2 5 0419.3 62476 59476 Accepted 100
40 2 5 0408.7 62476 59440 Accepted 100
41 2 5 0417.1 62476 59420 Accepted 100
42 3 5 0002.7 24972 3672 Accepted 100
43 3 5 0421.6 62476 59472 Accepted 100
44 3 5 0419.1 62476 59460 Accepted 100
45 3 5 0409.9 62476 59316 Accepted 100
46 3 5 0397.4 62476 59448 Accepted 100
47 3 5 0426.2 62476 59352 Accepted 100
48 3 5 0419.8 62476 59460 Accepted 100
49 3 5 0415.9 62476 59484 Accepted 100
50 3 5 0407.7 62476 59424 Accepted 100
51 4 5 0012.1 25612 4300 Accepted 100
52 4 5 0009.7 25612 4152 Accepted 100
53 4 5 0009.6 25612 4300 Accepted 100
54 4 5 0009.6 25612 4148 Accepted 100
55 4 5 0008.8 25612 4216 Accepted 100
56 4 5 0008.6 25612 4220 Accepted 100
57 4 5 0009.0 25612 4148 Accepted 100
58 4 5 0008.4 25612 4304 Accepted 100
59 4 5 0008.6 25612 4188 Accepted 100
60 4 5 0008.5 25612 4292 Accepted 100
61 4 5 0008.7 25612 4268 Accepted 100
62 4 5 0008.6 25612 4280 Accepted 100
63 4 5 0009.4 25612 4180 Accepted 100
64 4 5 0008.5 25612 4264 Accepted 100
65 4 5 0008.5 25612 4284 Accepted 100
66 4 5 0008.9 25612 4164 Accepted 100
67 5 0251.2 39292 24576 Accepted 100
68 5 0779.3 62476 59292 Accepted 100
69 5 0793.6 62476 59356 Accepted 100
70 5 0780.0 62476 59480 Accepted 100
71 5 0770.7 62476 59420 Accepted 100
72 5 0442.5 62476 59360 Accepted 100
73 5 0449.6 62476 59456 Accepted 100
74 5 0439.5 62476 59464 Accepted 100
75 5 0442.7 62476 59416 Accepted 100
76 5 0806.4 62476 59480 Accepted 100
77 5 0796.4 62476 59460 Accepted 100
78 5 0772.6 62476 59468 Accepted 100
79 5 0776.4 62476 59328 Accepted 100
80 5 0428.0 62476 59320 Accepted 100
81 5 0432.7 62476 59360 Accepted 100
82 5 0417.5 62476 59472 Accepted 100
83 5 0416.4 62476 59320 Accepted 100
84 5 0427.6 62476 59472 Accepted 100
85 5 0417.0 62476 59468 Accepted 100
86 5 0420.3 62476 59360 Accepted 100
87 5 0408.3 62476 59460 Accepted 100
88 5 0771.4 62476 59312 Accepted 100
89 5 0410.9 62476 59324 Accepted 100
90 5 0418.2 62476 59420 Accepted 100
91 5 0812.3 62476 59348 Accepted 100
92 5 0797.2 62476 59360 Accepted 100
93 5 0775.8 62476 59388 Accepted 100
94 5 0761.0 62476 59444 Accepted 100
95 5 0750.4 62476 59400 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.88 KB
Back to Top