Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

30287
49428
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 56612 3476 Accepted 100
1 1 4 5 0002.6 56612 3584 Accepted 100
2 1 4 5 0002.7 56612 3488 Accepted 100
3 2 3 4 5 0002.9 56612 3556 Accepted 100
4 2 3 4 5 0008.4 56772 4412 Accepted 100
5 2 3 4 5 0002.7 56612 3556 Accepted 100
6 2 3 4 5 0002.8 56612 3580 Accepted 100
7 2 3 4 5 0004.7 56612 3880 Accepted 100
8 2 3 4 5 0008.5 56772 4332 Accepted 100
9 2 3 4 5 0008.5 56772 4524 Accepted 100
10 2 3 5 0419.8 68944 49364 Accepted 100
11 2 3 5 0066.4 58192 9892 Accepted 100
12 2 3 5 0294.2 62800 29168 Accepted 100
13 2 3 5 0444.5 68944 49156 Accepted 100
14 2 3 5 0472.4 68944 49320 Accepted 100
15 2 3 5 0476.5 68944 49320 Accepted 100
16 2 3 5 0438.8 68944 49320 Accepted 100
17 3 4 5 0008.2 56772 4420 Accepted 100
18 3 4 5 0008.8 56772 4396 Accepted 100
19 3 4 5 0008.7 56772 4396 Accepted 100
20 3 4 5 0008.7 56772 4364 Accepted 100
21 3 4 5 0008.7 56772 4464 Accepted 100
22 3 4 5 0008.5 56772 4420 Accepted 100
23 2 4 5 0009.9 56772 4328 Accepted 100
24 2 4 5 0009.5 56772 4392 Accepted 100
25 2 4 5 0011.1 56772 4396 Accepted 100
26 2 4 5 0009.5 56772 4400 Accepted 100
27 2 4 5 0008.7 56772 4460 Accepted 100
28 2 5 0002.8 56612 3660 Accepted 100
29 2 5 0691.4 68944 49376 Accepted 100
30 2 5 0690.7 68944 49248 Accepted 100
31 2 5 0673.7 68944 49232 Accepted 100
32 2 5 0658.9 68944 49156 Accepted 100
33 2 5 0444.4 68944 49320 Accepted 100
34 2 5 0681.4 68944 49300 Accepted 100
35 2 5 0722.3 68944 49296 Accepted 100
36 2 5 0723.2 68944 49160 Accepted 100
37 2 5 0680.3 68944 49372 Accepted 100
38 2 5 0445.1 68944 49372 Accepted 100
39 2 5 0470.6 68944 49292 Accepted 100
40 2 5 0472.1 68944 49164 Accepted 100
41 2 5 0432.7 68944 49232 Accepted 100
42 3 5 0003.0 56612 3528 Accepted 100
43 3 5 0427.5 68944 49332 Accepted 100
44 3 5 0415.3 68944 49292 Accepted 100
45 3 5 0400.3 68944 49316 Accepted 100
46 3 5 0391.9 68944 49228 Accepted 100
47 3 5 0454.5 68944 49320 Accepted 100
48 3 5 0476.6 68944 49328 Accepted 100
49 3 5 0482.0 68944 49124 Accepted 100
50 3 5 0435.3 68944 49300 Accepted 100
51 4 5 0009.4 56772 4528 Accepted 100
52 4 5 0009.4 56772 4280 Accepted 100
53 4 5 0009.4 56772 4408 Accepted 100
54 4 5 0008.9 56772 4392 Accepted 100
55 4 5 0008.6 56772 4204 Accepted 100
56 4 5 0008.6 56772 4392 Accepted 100
57 4 5 0008.8 56772 4400 Accepted 100
58 4 5 0008.3 56772 4392 Accepted 100
59 4 5 0009.2 56772 4356 Accepted 100
60 4 5 0008.4 56772 4392 Accepted 100
61 4 5 0008.5 56772 4424 Accepted 100
62 4 5 0008.1 56772 4468 Accepted 100
63 4 5 0009.5 56772 4392 Accepted 100
64 4 5 0008.3 56772 4336 Accepted 100
65 4 5 0008.5 56772 4340 Accepted 100
66 4 5 0008.6 56772 4252 Accepted 100
67 5 0196.1 59728 16760 Accepted 100
68 5 0675.8 68944 49328 Accepted 100
69 5 0675.2 68944 49300 Accepted 100
70 5 0667.7 68944 49328 Accepted 100
71 5 0670.9 68944 49292 Accepted 100
72 5 0437.6 68944 49428 Accepted 100
73 5 0534.2 68944 49236 Accepted 100
74 5 0426.4 68944 49256 Accepted 100
75 5 0424.1 68944 49236 Accepted 100
76 5 0692.6 68944 49300 Accepted 100
77 5 0709.2 68944 49304 Accepted 100
78 5 0714.4 68944 49292 Accepted 100
79 5 0663.8 68944 49296 Accepted 100
80 5 0450.4 68944 49296 Accepted 100
81 5 0470.4 68944 49232 Accepted 100
82 5 0482.2 68944 49296 Accepted 100
83 5 0428.7 68944 49296 Accepted 100
84 5 0446.4 68944 49228 Accepted 100
85 5 0459.7 68944 49272 Accepted 100
86 5 0468.2 68944 49300 Accepted 100
87 5 0424.1 68944 49232 Accepted 100
88 5 0677.8 68944 49296 Accepted 100
89 5 0434.6 68944 49300 Accepted 100
90 5 0439.4 68944 49296 Accepted 100
91 5 0708.4 68944 49296 Accepted 100
92 5 0714.4 68944 49156 Accepted 100
93 5 0680.5 68944 49292 Accepted 100
94 5 0672.5 68944 49312 Accepted 100
95 5 0665.5 68944 49308 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.25 KB
Back to Top