Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

11559
7936
Wrong Answer
21

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$ 0 / 11
5 0~2, 37~100 $N\le 3000$ 0 / 30
6 0~189 無額外限制 0 / 38

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 6 0002.9 10128 3524 Accepted 100
1 1 4 5 6 0002.6 10128 3532 Accepted 100
2 1 4 5 6 0002.7 10128 3376 Accepted 100
3 2 6 0002.8 10128 3464 Accepted 100
4 2 6 0103.5 10128 7488 Accepted 100
5 2 6 0102.8 10128 7268 Accepted 100
6 2 6 0104.3 10128 7496 Accepted 100
7 2 6 0103.7 10128 7416 Accepted 100
8 2 6 0104.3 10128 7444 Accepted 100
9 2 6 0104.5 10128 7272 Accepted 100
10 2 6 0109.1 10128 7436 Accepted 100
11 2 6 0107.5 10128 7448 Accepted 100
12 2 6 0104.9 10128 7440 Accepted 100
13 2 6 0068.6 10128 6708 Accepted 100
14 2 6 0063.6 10128 6700 Accepted 100
15 2 6 0061.7 10128 6660 Accepted 100
16 2 6 0061.9 10128 6668 Accepted 100
17 2 6 0064.0 10128 6668 Accepted 100
18 2 6 0062.4 10128 6656 Accepted 100
19 2 6 0064.4 10128 6660 Accepted 100
20 2 6 0064.6 10128 6656 Accepted 100
21 2 6 0064.2 10128 6772 Accepted 100
22 3 6 0136.3 10924 7208 Accepted 100
23 3 6 0135.1 10924 7128 Accepted 100
24 3 6 0135.5 10924 7168 Accepted 100
25 3 6 0133.4 10924 7220 Accepted 100
26 3 6 0134.8 10924 7312 Accepted 100
27 3 6 0134.4 10924 7116 Accepted 100
28 3 6 0133.4 10924 7176 Accepted 100
29 3 6 0135.7 10924 7312 Accepted 100
30 3 6 0133.5 10924 7176 Accepted 100
31 3 6 0135.6 10924 7232 Accepted 100
32 3 6 0136.2 10924 7172 Accepted 100
33 3 6 0134.9 10924 7224 Accepted 100
34 3 6 0136.4 10924 7176 Accepted 100
35 3 6 0134.5 10924 7236 Accepted 100
36 3 6 0134.2 10924 7200 Accepted 100
37 4 5 6 0002.7 10128 3540 Accepted 100
38 4 5 6 0002.7 10128 3652 Wrong Answer 0
39 4 5 6 0002.6 10128 3516 Wrong Answer 0
40 4 5 6 0002.5 10128 3372 Accepted 100
41 4 5 6 0002.7 10128 3544 Accepted 100
42 4 5 6 0002.5 10128 3536 Wrong Answer 0
43 4 5 6 0002.6 10128 3520 Accepted 100
44 4 5 6 0002.5 10128 3492 Accepted 100
45 4 5 6 0002.7 10128 3516 Accepted 100
46 4 5 6 0002.5 10128 3604 Accepted 100
47 4 5 6 0002.7 10128 3536 Accepted 100
48 4 5 6 0002.5 10128 3536 Wrong Answer 0
49 4 5 6 0002.5 10128 3368 Accepted 100
50 4 5 6 0002.6 10128 3544 Accepted 100
51 4 5 6 0002.7 10128 3548 Accepted 100
52 4 5 6 0003.0 10128 3648 Accepted 100
53 4 5 6 0002.7 10128 3372 Accepted 100
54 4 5 6 0002.6 10128 3368 Accepted 100
55 4 5 6 0002.6 10128 3520 Wrong Answer 0
56 4 5 6 0002.7 10128 3608 Accepted 100
57 4 5 6 0002.8 10128 3536 Wrong Answer 0
58 4 5 6 0002.7 10128 3536 Accepted 100
59 4 5 6 0002.7 10128 3512 Accepted 100
60 4 5 6 0002.4 10128 3544 Accepted 100
61 4 5 6 0002.6 10128 3460 Accepted 100
62 4 5 6 0002.5 10128 3548 Wrong Answer 0
63 4 5 6 0002.7 10128 3540 Accepted 100
64 4 5 6 0002.5 10128 3584 Accepted 100
65 4 5 6 0002.6 10128 3376 Accepted 100
66 4 5 6 0002.6 10128 3560 Accepted 100
67 4 5 6 0002.6 10128 3536 Accepted 100
68 4 5 6 0002.7 10128 3460 Accepted 100
69 4 5 6 0002.8 10128 3548 Accepted 100
70 4 5 6 0002.7 10128 3532 Accepted 100
71 4 5 6 0002.6 10128 3532 Accepted 100
72 5 6 0004.4 10128 3608 Accepted 100
73 5 6 0003.8 10128 3672 Wrong Answer 0
74 5 6 0003.9 10128 3620 Wrong Answer 0
75 5 6 0003.7 10128 3608 Wrong Answer 0
76 5 6 0003.5 10128 3616 Wrong Answer 0
77 5 6 0003.7 10128 3660 Wrong Answer 0
78 5 6 0003.6 10128 3596 Wrong Answer 0
79 5 6 0003.6 10128 3676 Wrong Answer 0
80 5 6 0003.7 10128 3720 Wrong Answer 0
81 5 6 0003.7 10128 3628 Wrong Answer 0
82 5 6 0003.7 10128 3608 Wrong Answer 0
83 5 6 0003.5 10128 3428 Wrong Answer 0
84 5 6 0003.4 10128 3584 Wrong Answer 0
85 5 6 0004.2 10128 3620 Accepted 100
86 5 6 0003.7 10128 3656 Wrong Answer 0
87 5 6 0004.3 10128 3620 Accepted 100
88 5 6 0003.7 10128 3604 Wrong Answer 0
89 5 6 0003.8 10128 3608 Accepted 100
90 5 6 0003.8 10128 3544 Accepted 100
91 5 6 0003.8 10128 3596 Accepted 100
92 5 6 0003.5 10128 3440 Accepted 100
93 5 6 0003.9 10128 3620 Accepted 100
94 5 6 0003.5 10128 3440 Accepted 100
95 5 6 0003.9 10128 3724 Accepted 100
96 5 6 0003.5 10128 3572 Accepted 100
97 5 6 0003.7 10128 3588 Accepted 100
98 5 6 0003.7 10128 3680 Accepted 100
99 5 6 0003.7 10128 3656 Accepted 100
100 5 6 0003.6 10128 3712 Accepted 100
101 6 0099.0 10924 7180 Wrong Answer 0
102 6 0097.1 10924 7236 Wrong Answer 0
103 6 0095.2 10924 7208 Wrong Answer 0
104 6 0099.6 10924 7232 Wrong Answer 0
105 6 0095.7 10924 7272 Wrong Answer 0
106 6 0096.9 10924 7180 Wrong Answer 0
107 6 0137.5 10924 7204 Accepted 100
108 6 0136.0 10924 7244 Accepted 100
109 6 0066.1 10128 7428 Wrong Answer 0
110 6 0066.2 10128 7264 Wrong Answer 0
111 6 0067.4 10128 7424 Wrong Answer 0
112 6 0068.2 10128 7420 Wrong Answer 0
113 6 0074.2 10128 7232 Wrong Answer 0
114 6 0078.7 10128 7544 Wrong Answer 0
115 6 0105.7 10128 7356 Accepted 100
116 6 0104.8 10128 7440 Accepted 100
117 6 0068.8 10128 7428 Wrong Answer 0
118 6 0069.9 10128 7264 Wrong Answer 0
119 6 0068.2 10128 6956 Wrong Answer 0
120 6 0071.1 10260 7160 Wrong Answer 0
121 6 0068.5 10128 6988 Wrong Answer 0
122 6 0077.8 10396 7088 Wrong Answer 0
123 6 0081.2 10528 7140 Wrong Answer 0
124 6 0068.1 10128 6928 Wrong Answer 0
125 6 0073.1 10260 7052 Wrong Answer 0
126 6 0080.8 10396 7140 Wrong Answer 0
127 6 0086.0 10660 7164 Wrong Answer 0
128 6 0087.2 10660 7596 Wrong Answer 0
129 6 0077.7 10396 6944 Wrong Answer 0
130 6 0079.3 10396 7144 Wrong Answer 0
131 6 0086.8 10660 7656 Wrong Answer 0
132 6 0069.8 10128 7060 Wrong Answer 0
133 6 0092.3 10792 7664 Wrong Answer 0
134 6 0073.1 10260 7172 Wrong Answer 0
135 6 0084.9 10528 7056 Wrong Answer 0
136 6 0096.7 10924 7228 Wrong Answer 0
137 6 0096.0 10924 7240 Accepted 100
138 6 0097.7 10924 7296 Accepted 100
139 6 0133.9 10924 7200 Accepted 100
140 6 0099.9 10924 7240 Accepted 100
141 6 0133.7 10924 7176 Accepted 100
142 6 0135.3 10924 7204 Accepted 100
143 6 0102.3 10924 7180 Accepted 100
144 6 0135.8 10924 7204 Accepted 100
145 6 0096.1 10924 7316 Wrong Answer 0
146 6 0133.8 10924 7200 Accepted 100
147 6 0099.8 10924 7252 Accepted 100
148 6 0095.4 10924 7128 Accepted 100
149 6 0097.6 10924 7128 Accepted 100
150 6 0095.9 10924 7140 Accepted 100
151 6 0095.8 10924 7240 Accepted 100
152 6 0105.0 10924 7132 Wrong Answer 0
153 6 0098.1 10924 7188 Accepted 100
154 6 0094.6 10924 7116 Wrong Answer 0
155 6 0094.6 10924 7380 Accepted 100
156 6 0095.2 10924 7468 Accepted 100
157 6 0092.3 10924 7360 Accepted 100
158 6 0092.8 10924 7344 Accepted 100
159 6 0093.4 10924 7336 Accepted 100
160 6 0099.9 10924 7276 Accepted 100
161 6 0093.7 10924 7936 Accepted 100
162 6 0094.0 10924 7888 Accepted 100
163 6 0091.9 10924 7820 Accepted 100
164 6 0093.8 10924 7908 Accepted 100
165 6 0092.2 10924 7880 Accepted 100
166 6 0095.2 10924 7632 Accepted 100
167 6 0091.8 10924 7880 Accepted 100
168 6 0083.9 10660 7100 Accepted 100
169 6 0079.1 10528 6868 Accepted 100
170 6 0078.6 10528 6776 Accepted 100
171 6 0084.6 10660 7008 Accepted 100
172 6 0089.2 10792 7132 Accepted 100
173 6 0068.8 10260 6772 Accepted 100
174 6 0087.2 10792 7068 Accepted 100
175 6 0073.1 10396 6856 Accepted 100
176 6 0094.0 10792 7064 Accepted 100
177 6 0077.0 10528 6824 Accepted 100
178 6 0064.1 10128 6808 Accepted 100
179 6 0064.3 10128 6516 Accepted 100
180 6 0062.9 10128 6592 Accepted 100
181 6 0064.0 10128 6760 Accepted 100
182 6 0063.1 10128 6672 Accepted 100
183 6 0065.0 10128 6676 Accepted 100
184 6 0064.3 10128 6640 Accepted 100
185 6 0063.7 10128 6532 Accepted 100
186 6 0063.6 10128 6692 Accepted 100
187 6 0063.1 10128 6684 Accepted 100
188 6 0069.3 10128 6688 Accepted 100
189 6 0063.9 10128 6632 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.02 KB
Back to Top