Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

14217
14632
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~21 $p_i\neq 0$ 13 / 13
3 22~36 $p_i=0$ 8 / 8
4 0~2, 37~71 $N\le 20$ 11 / 11
5 0~2, 37~100 $N\le 3000$ 30 / 30
6 0~189 無額外限制 38 / 38

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 6 0002.6 6216 3492 Accepted 100
1 1 4 5 6 0002.7 6216 3568 Accepted 100
2 1 4 5 6 0002.6 6216 3572 Accepted 100
3 2 6 0002.9 6216 3452 Accepted 100
4 2 6 0138.4 17932 14400 Accepted 100
5 2 6 0136.4 17932 14460 Accepted 100
6 2 6 0138.0 17932 14332 Accepted 100
7 2 6 0145.7 17932 14284 Accepted 100
8 2 6 0137.6 17932 14328 Accepted 100
9 2 6 0143.2 17932 14364 Accepted 100
10 2 6 0138.0 17932 14412 Accepted 100
11 2 6 0137.6 17932 14292 Accepted 100
12 2 6 0137.8 17932 14452 Accepted 100
13 2 6 0080.6 17932 14420 Accepted 100
14 2 6 0082.3 17932 14420 Accepted 100
15 2 6 0082.5 17932 14284 Accepted 100
16 2 6 0082.7 17932 14424 Accepted 100
17 2 6 0080.4 17932 14328 Accepted 100
18 2 6 0080.9 17932 14296 Accepted 100
19 2 6 0084.3 17932 14232 Accepted 100
20 2 6 0081.6 17932 14416 Accepted 100
21 2 6 0081.4 17932 14452 Accepted 100
22 3 6 0141.9 15540 11156 Accepted 100
23 3 6 0139.0 15540 11148 Accepted 100
24 3 6 0140.3 15540 11160 Accepted 100
25 3 6 0138.7 15540 11244 Accepted 100
26 3 6 0140.4 15540 11280 Accepted 100
27 3 6 0142.2 15540 11320 Accepted 100
28 3 6 0139.1 15540 11156 Accepted 100
29 3 6 0139.1 15540 11200 Accepted 100
30 3 6 0141.7 15540 11300 Accepted 100
31 3 6 0141.3 15540 11304 Accepted 100
32 3 6 0142.4 15540 11248 Accepted 100
33 3 6 0140.4 15540 11336 Accepted 100
34 3 6 0139.1 15540 11244 Accepted 100
35 3 6 0139.5 15540 11208 Accepted 100
36 3 6 0139.1 15540 11168 Accepted 100
37 4 5 6 0002.8 6216 3580 Accepted 100
38 4 5 6 0002.7 6216 3576 Accepted 100
39 4 5 6 0002.6 6216 3540 Accepted 100
40 4 5 6 0002.7 6216 3600 Accepted 100
41 4 5 6 0002.6 6216 3532 Accepted 100
42 4 5 6 0002.7 6216 3420 Accepted 100
43 4 5 6 0002.6 6216 3644 Accepted 100
44 4 5 6 0002.6 6216 3576 Accepted 100
45 4 5 6 0002.6 6216 3508 Accepted 100
46 4 5 6 0002.5 6216 3576 Accepted 100
47 4 5 6 0002.4 6216 3496 Accepted 100
48 4 5 6 0002.5 6216 3576 Accepted 100
49 4 5 6 0002.6 6216 3512 Accepted 100
50 4 5 6 0002.6 6216 3520 Accepted 100
51 4 5 6 0002.7 6216 3644 Accepted 100
52 4 5 6 0002.5 6216 3576 Accepted 100
53 4 5 6 0002.6 6216 3528 Accepted 100
54 4 5 6 0002.4 6216 3372 Accepted 100
55 4 5 6 0002.6 6216 3640 Accepted 100
56 4 5 6 0002.5 6216 3508 Accepted 100
57 4 5 6 0002.4 6216 3524 Accepted 100
58 4 5 6 0002.5 6216 3576 Accepted 100
59 4 5 6 0002.6 6216 3580 Accepted 100
60 4 5 6 0002.6 6216 3576 Accepted 100
61 4 5 6 0002.6 6216 3584 Accepted 100
62 4 5 6 0002.5 6216 3496 Accepted 100
63 4 5 6 0002.5 6216 3576 Accepted 100
64 4 5 6 0002.7 6216 3512 Accepted 100
65 4 5 6 0002.7 6216 3576 Accepted 100
66 4 5 6 0002.5 6216 3448 Accepted 100
67 4 5 6 0002.6 6216 3456 Accepted 100
68 4 5 6 0002.8 6216 3372 Accepted 100
69 4 5 6 0002.8 6216 3368 Accepted 100
70 4 5 6 0002.6 6216 3368 Accepted 100
71 4 5 6 0002.7 6216 3648 Accepted 100
72 5 6 0004.5 6356 3716 Accepted 100
73 5 6 0004.6 6348 3732 Accepted 100
74 5 6 0004.3 6356 3712 Accepted 100
75 5 6 0004.4 6360 3708 Accepted 100
76 5 6 0005.0 6376 3744 Accepted 100
77 5 6 0004.5 6348 3736 Accepted 100
78 5 6 0004.6 6376 3752 Accepted 100
79 5 6 0004.5 6356 3736 Accepted 100
80 5 6 0004.5 6352 3672 Accepted 100
81 5 6 0004.4 6348 3728 Accepted 100
82 5 6 0004.6 6348 3728 Accepted 100
83 5 6 0004.3 6384 3548 Accepted 100
84 5 6 0004.5 6380 3768 Accepted 100
85 5 6 0004.4 6356 3744 Accepted 100
86 5 6 0004.3 6356 3676 Accepted 100
87 5 6 0004.4 6356 3696 Accepted 100
88 5 6 0004.3 6356 3720 Accepted 100
89 5 6 0003.7 6352 3516 Accepted 100
90 5 6 0003.9 6356 3672 Accepted 100
91 5 6 0003.6 6348 3636 Accepted 100
92 5 6 0003.6 6348 3560 Accepted 100
93 5 6 0003.8 6348 3640 Accepted 100
94 5 6 0004.0 6352 3684 Accepted 100
95 5 6 0003.6 6348 3652 Accepted 100
96 5 6 0003.6 6376 3716 Accepted 100
97 5 6 0004.7 6348 3684 Accepted 100
98 5 6 0003.5 6356 3700 Accepted 100
99 5 6 0003.7 6360 3712 Accepted 100
100 5 6 0003.6 6356 3704 Accepted 100
101 6 0136.4 15924 11012 Accepted 100
102 6 0137.4 16500 11968 Accepted 100
103 6 0136.2 15932 10940 Accepted 100
104 6 0137.2 15732 11204 Accepted 100
105 6 0137.1 15924 11192 Accepted 100
106 6 0142.0 15556 11300 Accepted 100
107 6 0140.8 15540 11320 Accepted 100
108 6 0139.5 15540 11292 Accepted 100
109 6 0138.3 17932 14288 Accepted 100
110 6 0138.4 17932 14440 Accepted 100
111 6 0140.2 17932 14272 Accepted 100
112 6 0139.1 17932 14464 Accepted 100
113 6 0148.5 17932 14408 Accepted 100
114 6 0137.0 17936 14340 Accepted 100
115 6 0139.3 17932 14276 Accepted 100
116 6 0137.0 17932 14332 Accepted 100
117 6 0143.9 17932 14296 Accepted 100
118 6 0140.0 17932 14448 Accepted 100
119 6 0138.5 17868 14268 Accepted 100
120 6 0156.3 18420 14632 Accepted 100
121 6 0142.6 17784 14004 Accepted 100
122 6 0146.2 16444 12708 Accepted 100
123 6 0147.1 17052 13024 Accepted 100
124 6 0139.1 17836 14104 Accepted 100
125 6 0144.9 18364 14600 Accepted 100
126 6 0151.0 18060 14072 Accepted 100
127 6 0148.6 16472 12496 Accepted 100
128 6 0149.7 16748 12596 Accepted 100
129 6 0144.3 16804 13324 Accepted 100
130 6 0148.6 16792 13316 Accepted 100
131 6 0147.7 16692 12720 Accepted 100
132 6 0143.7 17640 14004 Accepted 100
133 6 0146.8 15800 11944 Accepted 100
134 6 0144.0 18404 14556 Accepted 100
135 6 0149.8 17360 13388 Accepted 100
136 6 0140.4 15540 11320 Accepted 100
137 6 0103.3 15732 11128 Accepted 100
138 6 0103.9 15572 11332 Accepted 100
139 6 0138.7 15540 11292 Accepted 100
140 6 0100.5 15668 11088 Accepted 100
141 6 0143.2 15540 11164 Accepted 100
142 6 0139.0 15540 11272 Accepted 100
143 6 0103.9 15540 11280 Accepted 100
144 6 0140.7 15540 11152 Accepted 100
145 6 0139.0 15556 11300 Accepted 100
146 6 0140.2 15604 11016 Accepted 100
147 6 0092.1 15148 10204 Accepted 100
148 6 0077.7 12580 9164 Accepted 100
149 6 0098.8 14412 10656 Accepted 100
150 6 0101.3 15924 11144 Accepted 100
151 6 0106.4 16052 11012 Accepted 100
152 6 0140.4 15636 11100 Accepted 100
153 6 0102.6 16052 11028 Accepted 100
154 6 0141.2 15540 11184 Accepted 100
155 6 0089.7 15148 10184 Accepted 100
156 6 0076.5 12376 8592 Accepted 100
157 6 0066.6 11684 7916 Accepted 100
158 6 0089.6 15148 10272 Accepted 100
159 6 0078.3 13228 8852 Accepted 100
160 6 0092.2 14696 10172 Accepted 100
161 6 0072.6 12184 8032 Accepted 100
162 6 0068.8 10996 7616 Accepted 100
163 6 0069.5 11664 7924 Accepted 100
164 6 0068.3 11468 7760 Accepted 100
165 6 0069.6 11204 7928 Accepted 100
166 6 0077.9 12932 9188 Accepted 100
167 6 0068.7 11244 7532 Accepted 100
168 6 0072.9 12916 9180 Accepted 100
169 6 0073.7 13920 10640 Accepted 100
170 6 0073.0 13936 10384 Accepted 100
171 6 0071.4 13584 9492 Accepted 100
172 6 0067.7 12008 8364 Accepted 100
173 6 0076.0 15920 12528 Accepted 100
174 6 0072.3 12300 8456 Accepted 100
175 6 0074.5 14588 11396 Accepted 100
176 6 0072.5 12452 8924 Accepted 100
177 6 0073.6 14096 10692 Accepted 100
178 6 0076.3 16324 13212 Accepted 100
179 6 0079.1 16468 13032 Accepted 100
180 6 0078.7 16612 13432 Accepted 100
181 6 0076.8 16380 13152 Accepted 100
182 6 0078.1 16556 13384 Accepted 100
183 6 0081.6 16464 13076 Accepted 100
184 6 0076.2 16580 13300 Accepted 100
185 6 0076.7 16472 13196 Accepted 100
186 6 0076.2 16504 13080 Accepted 100
187 6 0080.0 16536 13472 Accepted 100
188 6 0076.4 16424 13024 Accepted 100
189 6 0077.4 16336 13100 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.33 KB
Back to Top