Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

15323
12652
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.7 6220 3548 Accepted 100
1 1 4 5 6 0002.7 6220 3600 Accepted 100
2 1 4 5 6 0002.7 6220 3576 Accepted 100
3 2 6 0002.7 6220 3584 Accepted 100
4 2 6 0133.4 14040 9872 Accepted 100
5 2 6 0139.4 14040 9896 Accepted 100
6 2 6 0138.2 14040 9968 Accepted 100
7 2 6 0139.0 14040 9936 Accepted 100
8 2 6 0134.2 14040 9984 Accepted 100
9 2 6 0148.5 14040 9860 Accepted 100
10 2 6 0139.7 14040 9840 Accepted 100
11 2 6 0135.7 14040 9892 Accepted 100
12 2 6 0138.5 14040 9968 Accepted 100
13 2 6 0075.3 14040 9852 Accepted 100
14 2 6 0076.2 14040 9928 Accepted 100
15 2 6 0075.4 14040 9988 Accepted 100
16 2 6 0079.4 14040 9860 Accepted 100
17 2 6 0077.0 14040 9896 Accepted 100
18 2 6 0075.2 14040 10020 Accepted 100
19 2 6 0075.2 14040 10024 Accepted 100
20 2 6 0077.0 14040 10004 Accepted 100
21 2 6 0077.3 14040 9896 Accepted 100
22 3 6 0159.7 17112 12596 Accepted 100
23 3 6 0169.7 17112 12632 Accepted 100
24 3 6 0158.2 17112 12444 Accepted 100
25 3 6 0160.0 17112 12512 Accepted 100
26 3 6 0159.6 17112 12648 Accepted 100
27 3 6 0162.1 17112 12512 Accepted 100
28 3 6 0162.5 17112 12620 Accepted 100
29 3 6 0158.5 17112 12512 Accepted 100
30 3 6 0159.5 17112 12516 Accepted 100
31 3 6 0160.5 17112 12468 Accepted 100
32 3 6 0173.0 17112 12472 Accepted 100
33 3 6 0168.1 17112 12616 Accepted 100
34 3 6 0159.7 17112 12556 Accepted 100
35 3 6 0160.0 17112 12592 Accepted 100
36 3 6 0160.4 17112 12516 Accepted 100
37 4 5 6 0002.8 6220 3380 Accepted 100
38 4 5 6 0002.6 6220 3544 Accepted 100
39 4 5 6 0002.7 6220 3460 Accepted 100
40 4 5 6 0002.8 6220 3576 Accepted 100
41 4 5 6 0002.7 6220 3576 Accepted 100
42 4 5 6 0003.0 6220 3512 Accepted 100
43 4 5 6 0002.7 6220 3532 Accepted 100
44 4 5 6 0002.7 6220 3512 Accepted 100
45 4 5 6 0003.0 6220 3540 Accepted 100
46 4 5 6 0003.1 6220 3420 Accepted 100
47 4 5 6 0002.6 6220 3576 Accepted 100
48 4 5 6 0002.5 6220 3520 Accepted 100
49 4 5 6 0002.6 6220 3504 Accepted 100
50 4 5 6 0002.6 6220 3584 Accepted 100
51 4 5 6 0002.7 6220 3592 Accepted 100
52 4 5 6 0002.7 6220 3604 Accepted 100
53 4 5 6 0002.6 6220 3600 Accepted 100
54 4 5 6 0002.6 6220 3552 Accepted 100
55 4 5 6 0002.5 6220 3596 Accepted 100
56 4 5 6 0002.5 6220 3380 Accepted 100
57 4 5 6 0003.5 6220 3516 Accepted 100
58 4 5 6 0004.4 6220 3556 Accepted 100
59 4 5 6 0002.6 6220 3516 Accepted 100
60 4 5 6 0002.6 6220 3648 Accepted 100
61 4 5 6 0002.5 6220 3576 Accepted 100
62 4 5 6 0002.7 6220 3604 Accepted 100
63 4 5 6 0002.5 6220 3584 Accepted 100
64 4 5 6 0002.6 6220 3516 Accepted 100
65 4 5 6 0002.5 6220 3596 Accepted 100
66 4 5 6 0002.5 6220 3648 Accepted 100
67 4 5 6 0002.5 6220 3516 Accepted 100
68 4 5 6 0002.5 6220 3584 Accepted 100
69 4 5 6 0002.5 6220 3580 Accepted 100
70 4 5 6 0002.6 6220 3528 Accepted 100
71 4 5 6 0002.6 6220 3644 Accepted 100
72 5 6 0004.5 6356 3716 Accepted 100
73 5 6 0004.6 6364 3696 Accepted 100
74 5 6 0004.5 6356 3680 Accepted 100
75 5 6 0004.5 6356 3692 Accepted 100
76 5 6 0004.8 6356 3660 Accepted 100
77 5 6 0004.5 6364 3652 Accepted 100
78 5 6 0004.4 6356 3712 Accepted 100
79 5 6 0004.3 6356 3492 Accepted 100
80 5 6 0004.4 6356 3704 Accepted 100
81 5 6 0004.4 6364 3708 Accepted 100
82 5 6 0004.4 6364 3676 Accepted 100
83 5 6 0004.2 6356 3596 Accepted 100
84 5 6 0004.3 6356 3728 Accepted 100
85 5 6 0004.5 6356 3700 Accepted 100
86 5 6 0004.5 6356 3748 Accepted 100
87 5 6 0004.6 6356 3800 Accepted 100
88 5 6 0004.6 6356 3760 Accepted 100
89 5 6 0003.9 6356 3612 Accepted 100
90 5 6 0004.1 6356 3612 Accepted 100
91 5 6 0003.9 6356 3684 Accepted 100
92 5 6 0003.8 6364 3712 Accepted 100
93 5 6 0004.0 6364 3708 Accepted 100
94 5 6 0003.8 6356 3696 Accepted 100
95 5 6 0003.8 6360 3656 Accepted 100
96 5 6 0003.7 6356 3648 Accepted 100
97 5 6 0003.9 6360 3712 Accepted 100
98 5 6 0003.8 6356 3684 Accepted 100
99 5 6 0003.9 6356 3664 Accepted 100
100 5 6 0003.6 6356 3648 Accepted 100
101 6 0162.1 17112 12592 Accepted 100
102 6 0156.1 17112 12648 Accepted 100
103 6 0159.8 17112 12620 Accepted 100
104 6 0159.7 17112 12592 Accepted 100
105 6 0163.1 17112 12600 Accepted 100
106 6 0156.8 17112 12560 Accepted 100
107 6 0162.6 17112 12620 Accepted 100
108 6 0157.7 17112 12468 Accepted 100
109 6 0136.5 14040 9896 Accepted 100
110 6 0134.8 14040 9896 Accepted 100
111 6 0135.7 14040 9900 Accepted 100
112 6 0136.3 14040 9856 Accepted 100
113 6 0138.6 14040 9964 Accepted 100
114 6 0133.8 14040 9884 Accepted 100
115 6 0136.7 14040 10012 Accepted 100
116 6 0132.9 14040 9936 Accepted 100
117 6 0137.1 14040 9840 Accepted 100
118 6 0136.2 14040 9844 Accepted 100
119 6 0136.4 14040 10020 Accepted 100
120 6 0143.5 14040 9840 Accepted 100
121 6 0139.0 14040 9972 Accepted 100
122 6 0141.2 14040 10152 Accepted 100
123 6 0142.0 14040 10300 Accepted 100
124 6 0137.8 14040 10016 Accepted 100
125 6 0144.8 14040 9968 Accepted 100
126 6 0140.7 14040 10008 Accepted 100
127 6 0152.6 14556 10428 Accepted 100
128 6 0148.3 14556 10508 Accepted 100
129 6 0144.2 14040 10520 Accepted 100
130 6 0142.5 14040 10412 Accepted 100
131 6 0151.1 14556 10360 Accepted 100
132 6 0136.1 14040 9836 Accepted 100
133 6 0151.5 14300 10524 Accepted 100
134 6 0138.9 14040 9896 Accepted 100
135 6 0147.1 14040 10248 Accepted 100
136 6 0160.7 17112 12628 Accepted 100
137 6 0125.5 17112 12468 Accepted 100
138 6 0126.0 17112 12624 Accepted 100
139 6 0166.1 17112 12648 Accepted 100
140 6 0122.8 17112 12468 Accepted 100
141 6 0159.8 17112 12520 Accepted 100
142 6 0164.8 17112 12464 Accepted 100
143 6 0125.4 17112 12652 Accepted 100
144 6 0160.8 17112 12508 Accepted 100
145 6 0162.4 17112 12648 Accepted 100
146 6 0158.2 17112 12512 Accepted 100
147 6 0117.7 17112 12468 Accepted 100
148 6 0105.7 15060 11576 Accepted 100
149 6 0120.2 15060 11464 Accepted 100
150 6 0123.5 17112 12488 Accepted 100
151 6 0123.3 17112 12652 Accepted 100
152 6 0162.6 17112 12584 Accepted 100
153 6 0122.7 17112 12516 Accepted 100
154 6 0160.6 17112 12556 Accepted 100
155 6 0113.7 17112 12620 Accepted 100
156 6 0096.5 14040 10492 Accepted 100
157 6 0085.4 14040 9856 Accepted 100
158 6 0111.2 17112 12560 Accepted 100
159 6 0095.9 15060 10932 Accepted 100
160 6 0113.1 17112 12596 Accepted 100
161 6 0090.2 14052 10152 Accepted 100
162 6 0084.6 14100 9916 Accepted 100
163 6 0089.4 14100 9996 Accepted 100
164 6 0087.6 14052 9852 Accepted 100
165 6 0087.1 14052 9852 Accepted 100
166 6 0099.0 15060 11032 Accepted 100
167 6 0086.0 14100 10076 Accepted 100
168 6 0085.8 14556 10504 Accepted 100
169 6 0079.8 14040 10284 Accepted 100
170 6 0081.8 14040 10256 Accepted 100
171 6 0084.2 15068 10372 Accepted 100
172 6 0083.4 14300 10120 Accepted 100
173 6 0077.9 14040 10000 Accepted 100
174 6 0085.7 14556 10280 Accepted 100
175 6 0080.2 14040 10512 Accepted 100
176 6 0082.9 14556 10212 Accepted 100
177 6 0080.7 14040 10232 Accepted 100
178 6 0077.6 14040 9792 Accepted 100
179 6 0076.1 14040 9848 Accepted 100
180 6 0077.8 14040 9892 Accepted 100
181 6 0082.4 14040 9964 Accepted 100
182 6 0075.9 14040 9832 Accepted 100
183 6 0074.4 14040 9836 Accepted 100
184 6 0077.1 14040 9996 Accepted 100
185 6 0081.7 14040 10024 Accepted 100
186 6 0076.3 14040 9856 Accepted 100
187 6 0075.9 14040 9968 Accepted 100
188 6 0074.7 14040 10008 Accepted 100
189 6 0074.4 14040 9840 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.09 KB
Back to Top