Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

35741
55156
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 62460 3568 Accepted 100
1 1 4 5 0002.6 62460 3596 Accepted 100
2 1 4 5 0002.6 62460 3392 Accepted 100
3 2 3 4 5 0002.9 62460 3592 Accepted 100
4 2 3 4 5 0009.2 62460 4416 Accepted 100
5 2 3 4 5 0002.7 62460 3564 Accepted 100
6 2 3 4 5 0002.9 62460 3632 Accepted 100
7 2 3 4 5 0005.2 62460 3644 Accepted 100
8 2 3 4 5 0010.1 62460 4372 Accepted 100
9 2 3 4 5 0010.0 62460 4420 Accepted 100
10 2 3 5 0519.0 62460 55084 Accepted 100
11 2 3 5 0077.8 62460 10788 Accepted 100
12 2 3 5 0349.5 62460 33208 Accepted 100
13 2 3 5 0515.3 62460 55092 Accepted 100
14 2 3 5 0517.7 62460 55092 Accepted 100
15 2 3 5 0519.3 62460 55152 Accepted 100
16 2 3 5 0503.5 62460 55084 Accepted 100
17 3 4 5 0009.8 62460 4392 Accepted 100
18 3 4 5 0009.5 62460 4412 Accepted 100
19 3 4 5 0009.2 62460 4392 Accepted 100
20 3 4 5 0009.1 62460 4384 Accepted 100
21 3 4 5 0009.2 62460 4372 Accepted 100
22 3 4 5 0009.3 62460 4384 Accepted 100
23 2 4 5 0010.4 62460 4380 Accepted 100
24 2 4 5 0010.1 62460 4416 Accepted 100
25 2 4 5 0010.4 62460 4416 Accepted 100
26 2 4 5 0010.1 62460 4428 Accepted 100
27 2 4 5 0009.8 62460 4396 Accepted 100
28 2 5 0002.7 62460 3552 Accepted 100
29 2 5 0845.5 62460 55084 Accepted 100
30 2 5 0844.5 62460 54888 Accepted 100
31 2 5 0831.3 62460 55092 Accepted 100
32 2 5 0834.2 62460 55036 Accepted 100
33 2 5 0537.8 62460 55092 Accepted 100
34 2 5 0854.0 62460 55052 Accepted 100
35 2 5 0842.1 62460 55052 Accepted 100
36 2 5 0865.2 62460 55092 Accepted 100
37 2 5 0848.9 62460 55084 Accepted 100
38 2 5 0527.8 62460 55044 Accepted 100
39 2 5 0518.9 62460 54884 Accepted 100
40 2 5 0512.4 62460 55040 Accepted 100
41 2 5 0505.3 62460 54884 Accepted 100
42 3 5 0002.8 62460 3616 Accepted 100
43 3 5 0519.9 62460 55028 Accepted 100
44 3 5 0514.1 62460 55048 Accepted 100
45 3 5 0504.6 62460 55156 Accepted 100
46 3 5 0494.8 62460 55020 Accepted 100
47 3 5 0518.2 62460 55156 Accepted 100
48 3 5 0515.3 62460 55100 Accepted 100
49 3 5 0507.2 62460 55088 Accepted 100
50 3 5 0501.4 62460 55088 Accepted 100
51 4 5 0010.6 62460 4352 Accepted 100
52 4 5 0010.0 62460 4488 Accepted 100
53 4 5 0010.1 62460 4420 Accepted 100
54 4 5 0010.2 62460 4424 Accepted 100
55 4 5 0009.5 62460 4352 Accepted 100
56 4 5 0009.2 62460 4384 Accepted 100
57 4 5 0009.1 62460 4432 Accepted 100
58 4 5 0009.1 62460 4416 Accepted 100
59 4 5 0009.3 62460 4296 Accepted 100
60 4 5 0009.1 62460 4432 Accepted 100
61 4 5 0009.3 62460 4372 Accepted 100
62 4 5 0009.2 62460 4420 Accepted 100
63 4 5 0009.9 62460 4444 Accepted 100
64 4 5 0009.5 62460 4428 Accepted 100
65 4 5 0009.2 62460 4424 Accepted 100
66 4 5 0009.5 62460 4220 Accepted 100
67 5 0268.3 62460 18920 Accepted 100
68 5 0837.2 62460 55052 Accepted 100
69 5 0827.3 62460 55060 Accepted 100
70 5 0818.2 62460 55088 Accepted 100
71 5 0818.6 62460 55108 Accepted 100
72 5 0525.0 62460 55044 Accepted 100
73 5 0527.0 62460 55096 Accepted 100
74 5 0520.3 62460 55096 Accepted 100
75 5 0518.4 62460 54968 Accepted 100
76 5 0841.3 62460 54888 Accepted 100
77 5 0823.6 62460 55056 Accepted 100
78 5 0823.4 62460 54972 Accepted 100
79 5 0811.7 62460 54964 Accepted 100
80 5 0528.4 62460 55096 Accepted 100
81 5 0518.4 62460 55092 Accepted 100
82 5 0506.0 62460 55048 Accepted 100
83 5 0518.5 62460 55088 Accepted 100
84 5 0520.7 62460 55052 Accepted 100
85 5 0515.0 62460 55084 Accepted 100
86 5 0502.3 62460 55036 Accepted 100
87 5 0508.1 62460 54880 Accepted 100
88 5 0819.3 62460 54888 Accepted 100
89 5 0508.4 62460 55048 Accepted 100
90 5 0511.6 62460 55064 Accepted 100
91 5 0823.1 62460 55156 Accepted 100
92 5 0816.1 62460 55088 Accepted 100
93 5 0809.3 62460 55040 Accepted 100
94 5 0822.2 62460 55092 Accepted 100
95 5 0791.5 62460 55052 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
2.66 KB
Back to Top