Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

50257
59568
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 0072.0 62380 49868 Accepted 100
1 1 4 5 0070.9 62380 49824 Accepted 100
2 1 4 5 0069.9 62380 49936 Accepted 100
3 2 3 4 5 0071.1 62380 49736 Accepted 100
4 2 3 4 5 0078.4 62380 50288 Accepted 100
5 2 3 4 5 0071.6 62380 49816 Accepted 100
6 2 3 4 5 0071.4 62380 49956 Accepted 100
7 2 3 4 5 0073.2 62380 49848 Accepted 100
8 2 3 4 5 0078.6 62380 50308 Accepted 100
9 2 3 4 5 0080.1 62380 50312 Accepted 100
10 2 3 5 0745.8 62380 59380 Accepted 100
11 2 3 5 0166.7 62380 51636 Accepted 100
12 2 3 5 0515.1 62380 56564 Accepted 100
13 2 3 5 0733.4 62380 59536 Accepted 100
14 2 3 5 0714.5 62380 59564 Accepted 100
15 2 3 5 0726.6 62380 59376 Accepted 100
16 2 3 5 0714.3 62380 59540 Accepted 100
17 3 4 5 0078.7 62380 50156 Accepted 100
18 3 4 5 0079.5 62380 50140 Accepted 100
19 3 4 5 0079.8 62380 50300 Accepted 100
20 3 4 5 0079.6 62380 50252 Accepted 100
21 3 4 5 0077.8 62380 50180 Accepted 100
22 3 4 5 0076.9 62380 50176 Accepted 100
23 2 4 5 0079.2 62380 50152 Accepted 100
24 2 4 5 0079.0 62380 50176 Accepted 100
25 2 4 5 0079.6 62380 50148 Accepted 100
26 2 4 5 0079.3 62380 50132 Accepted 100
27 2 4 5 0078.0 62380 50152 Accepted 100
28 2 5 0069.4 62380 49892 Accepted 100
29 2 5 1049.8 62380 59424 Accepted 100
30 2 5 1064.2 62380 59416 Accepted 100
31 2 5 1051.1 62380 59516 Accepted 100
32 2 5 1034.1 62380 59380 Accepted 100
33 2 5 0755.6 62380 59392 Accepted 100
34 2 5 1062.6 62380 59520 Accepted 100
35 2 5 1041.4 62380 59520 Accepted 100
36 2 5 1049.6 62380 59380 Accepted 100
37 2 5 1034.3 62380 59416 Accepted 100
38 2 5 0724.0 62380 59560 Accepted 100
39 2 5 0727.7 62380 59416 Accepted 100
40 2 5 0724.7 62380 59548 Accepted 100
41 2 5 0726.6 62380 59464 Accepted 100
42 3 5 0071.6 62380 49936 Accepted 100
43 3 5 0726.3 62380 59416 Accepted 100
44 3 5 0723.4 62380 59428 Accepted 100
45 3 5 0695.9 62380 59560 Accepted 100
46 3 5 0715.0 62380 59416 Accepted 100
47 3 5 0726.5 62380 59500 Accepted 100
48 3 5 0726.5 62380 59492 Accepted 100
49 3 5 0730.1 62380 59532 Accepted 100
50 3 5 0726.3 62380 59524 Accepted 100
51 4 5 0077.5 62380 50180 Accepted 100
52 4 5 0077.5 62380 50248 Accepted 100
53 4 5 0079.4 62380 50252 Accepted 100
54 4 5 0079.5 62380 50136 Accepted 100
55 4 5 0077.4 62380 50176 Accepted 100
56 4 5 0078.2 62380 50296 Accepted 100
57 4 5 0080.1 62380 50228 Accepted 100
58 4 5 0077.8 62380 50248 Accepted 100
59 4 5 0078.6 62380 50172 Accepted 100
60 4 5 0079.6 62380 50272 Accepted 100
61 4 5 0078.0 62380 50256 Accepted 100
62 4 5 0078.5 62380 50180 Accepted 100
63 4 5 0078.2 62380 50192 Accepted 100
64 4 5 0077.1 62380 50328 Accepted 100
65 4 5 0076.5 62380 50284 Accepted 100
66 4 5 0078.6 62380 50128 Accepted 100
67 5 0369.3 62380 53564 Accepted 100
68 5 1050.9 62380 59564 Accepted 100
69 5 1039.7 62380 59456 Accepted 100
70 5 1047.8 62380 59568 Accepted 100
71 5 1063.4 62380 59464 Accepted 100
72 5 0742.4 62380 59540 Accepted 100
73 5 0732.4 62380 59416 Accepted 100
74 5 0743.2 62380 59540 Accepted 100
75 5 0742.9 62380 59544 Accepted 100
76 5 1045.8 62380 59556 Accepted 100
77 5 1060.6 62380 59528 Accepted 100
78 5 1022.5 62380 59388 Accepted 100
79 5 1031.6 62380 59524 Accepted 100
80 5 0724.5 62380 59564 Accepted 100
81 5 0725.6 62380 59516 Accepted 100
82 5 0723.6 62380 59532 Accepted 100
83 5 0703.9 62380 59360 Accepted 100
84 5 0719.8 62380 59372 Accepted 100
85 5 0726.1 62380 59552 Accepted 100
86 5 0726.1 62380 59492 Accepted 100
87 5 0710.4 62380 59516 Accepted 100
88 5 1037.5 62380 59492 Accepted 100
89 5 0697.7 62380 59416 Accepted 100
90 5 0721.7 62380 59416 Accepted 100
91 5 1073.4 62380 59464 Accepted 100
92 5 1043.6 62380 59536 Accepted 100
93 5 1044.0 62380 59516 Accepted 100
94 5 1030.7 62380 59500 Accepted 100
95 5 1025.7 62380 59396 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.62 KB
Back to Top