Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

106492
92156
Time Limit Exceeded
49

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~21 $p_i\neq 0$ 0 / 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 無額外限制 0 / 38

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 6 0041.3 49968 31644 Accepted 100
1 1 4 5 6 0041.4 49968 31640 Accepted 100
2 1 4 5 6 0040.8 49968 31672 Accepted 100
3 2 6 0039.4 49968 31724 Accepted 100
4 2 6 1104.2 100108 91720 Time Limit Exceeded 0
5 2 6 1112.8 100108 91876 Time Limit Exceeded 0
6 2 6 1109.5 100108 91808 Time Limit Exceeded 0
7 2 6 1081.8 100108 91796 Time Limit Exceeded 0
8 2 6 1106.6 100108 91804 Time Limit Exceeded 0
9 2 6 1111.8 100108 91760 Time Limit Exceeded 0
10 2 6 1113.4 100108 91752 Time Limit Exceeded 0
11 2 6 1106.6 100108 91888 Time Limit Exceeded 0
12 2 6 1069.6 100108 92156 Time Limit Exceeded 0
13 2 6 0694.9 99184 89508 Accepted 100
14 2 6 0708.2 99052 89264 Accepted 100
15 2 6 0716.5 99184 89348 Accepted 100
16 2 6 0706.5 98920 89260 Accepted 100
17 2 6 0708.7 99052 89460 Accepted 100
18 2 6 0702.2 98920 89096 Accepted 100
19 2 6 0711.4 98920 89144 Accepted 100
20 2 6 0719.4 98920 89128 Accepted 100
21 2 6 0715.6 98920 89124 Accepted 100
22 3 6 0809.8 89544 81320 Accepted 100
23 3 6 0817.1 89544 81460 Accepted 100
24 3 6 0834.9 89544 81436 Accepted 100
25 3 6 0796.1 89544 81400 Accepted 100
26 3 6 0826.0 89544 81324 Accepted 100
27 3 6 0822.0 89544 81328 Accepted 100
28 3 6 0846.3 89544 81296 Accepted 100
29 3 6 0821.4 89544 81304 Accepted 100
30 3 6 0852.0 89544 81420 Accepted 100
31 3 6 0821.5 89544 81408 Accepted 100
32 3 6 0815.0 89544 81324 Accepted 100
33 3 6 0807.9 89544 81444 Accepted 100
34 3 6 0846.2 89544 81408 Accepted 100
35 3 6 0812.4 89544 81324 Accepted 100
36 3 6 0855.0 89544 81436 Accepted 100
37 4 5 6 0040.2 49968 31724 Accepted 100
38 4 5 6 0041.4 49968 31608 Accepted 100
39 4 5 6 0040.9 49968 31660 Accepted 100
40 4 5 6 0040.3 49968 31728 Accepted 100
41 4 5 6 0041.1 49968 31728 Accepted 100
42 4 5 6 0040.0 49968 31656 Accepted 100
43 4 5 6 0041.6 49968 31696 Accepted 100
44 4 5 6 0041.0 49968 31688 Accepted 100
45 4 5 6 0040.6 49968 31736 Accepted 100
46 4 5 6 0040.0 49968 31780 Accepted 100
47 4 5 6 0040.7 49968 31656 Accepted 100
48 4 5 6 0041.7 49968 31732 Accepted 100
49 4 5 6 0041.1 49968 31608 Accepted 100
50 4 5 6 0041.0 49968 31652 Accepted 100
51 4 5 6 0041.3 49968 31608 Accepted 100
52 4 5 6 0041.3 49968 31736 Accepted 100
53 4 5 6 0040.8 49968 31652 Accepted 100
54 4 5 6 0040.8 49968 31660 Accepted 100
55 4 5 6 0043.6 49968 31784 Accepted 100
56 4 5 6 0040.6 49968 31672 Accepted 100
57 4 5 6 0041.7 49968 31716 Accepted 100
58 4 5 6 0042.7 49968 31736 Accepted 100
59 4 5 6 0040.4 49968 31736 Accepted 100
60 4 5 6 0042.8 49968 31652 Accepted 100
61 4 5 6 0040.3 49968 31692 Accepted 100
62 4 5 6 0040.6 49968 31684 Accepted 100
63 4 5 6 0041.0 49968 31684 Accepted 100
64 4 5 6 0041.1 49968 31788 Accepted 100
65 4 5 6 0040.9 49968 31784 Accepted 100
66 4 5 6 0040.8 49968 31656 Accepted 100
67 4 5 6 0041.3 49968 31676 Accepted 100
68 4 5 6 0040.4 49968 31668 Accepted 100
69 4 5 6 0040.8 49968 31656 Accepted 100
70 4 5 6 0038.3 49968 31660 Accepted 100
71 4 5 6 0041.0 49968 31616 Accepted 100
72 5 6 0047.3 50628 32564 Accepted 100
73 5 6 0047.4 50640 32632 Accepted 100
74 5 6 0047.7 50628 32540 Accepted 100
75 5 6 0047.2 50628 32552 Accepted 100
76 5 6 0047.0 50628 32604 Accepted 100
77 5 6 0047.1 50636 32560 Accepted 100
78 5 6 0047.4 50628 32616 Accepted 100
79 5 6 0047.4 50640 32600 Accepted 100
80 5 6 0046.7 50636 32512 Accepted 100
81 5 6 0048.5 50628 32484 Accepted 100
82 5 6 0048.0 50628 32476 Accepted 100
83 5 6 0047.9 50760 32692 Accepted 100
84 5 6 0047.9 50628 32556 Accepted 100
85 5 6 0047.0 50496 32424 Accepted 100
86 5 6 0046.1 50628 32536 Accepted 100
87 5 6 0049.0 50628 32364 Accepted 100
88 5 6 0046.1 50628 32504 Accepted 100
89 5 6 0046.0 50628 32524 Accepted 100
90 5 6 0045.7 50628 32480 Accepted 100
91 5 6 0047.5 50628 32352 Accepted 100
92 5 6 0046.0 50640 32528 Accepted 100
93 5 6 0045.1 50628 32552 Accepted 100
94 5 6 0046.1 50636 32560 Accepted 100
95 5 6 0044.4 50628 32528 Accepted 100
96 5 6 0047.3 50628 32384 Accepted 100
97 5 6 0044.8 50628 32516 Accepted 100
98 5 6 0047.7 50628 32568 Accepted 100
99 5 6 0044.0 50632 32512 Accepted 100
100 5 6 0046.0 50628 32572 Accepted 100
101 6 0872.9 96012 87740 Accepted 100
102 6 0898.3 95088 86988 Accepted 100
103 6 0883.1 95748 87516 Accepted 100
104 6 0854.2 95880 87780 Accepted 100
105 6 0891.6 95220 86844 Accepted 100
106 6 0835.6 93504 85248 Accepted 100
107 6 0827.5 91788 83436 Accepted 100
108 6 0804.2 89544 81456 Accepted 100
109 6 1075.2 100236 92136 Time Limit Exceeded 0
110 6 1073.2 100236 92140 Time Limit Exceeded 0
111 6 1072.1 100236 92060 Time Limit Exceeded 0
112 6 1113.2 100236 92016 Time Limit Exceeded 0
113 6 1115.2 100104 92008 Time Limit Exceeded 0
114 6 1078.2 100232 92124 Time Limit Exceeded 0
115 6 1104.2 100108 91768 Time Limit Exceeded 0
116 6 1087.5 100240 92064 Time Limit Exceeded 0
117 6 1077.1 100108 91836 Time Limit Exceeded 0
118 6 1084.0 100108 91724 Time Limit Exceeded 0
119 6 1086.8 99992 91856 Time Limit Exceeded 0
120 6 1098.1 99164 90996 Time Limit Exceeded 0
121 6 1088.0 99820 91692 Time Limit Exceeded 0
122 6 1028.5 97008 88692 Time Limit Exceeded 0
123 6 1056.6 96788 88536 Time Limit Exceeded 0
124 6 1097.0 99900 91664 Time Limit Exceeded 0
125 6 1092.0 98288 89912 Time Limit Exceeded 0
126 6 1084.0 97876 89656 Time Limit Exceeded 0
127 6 0975.6 94708 86488 Accepted 100
128 6 1003.0 95032 86932 Time Limit Exceeded 0
129 6 1066.7 97536 89312 Time Limit Exceeded 0
130 6 1006.4 97344 89208 Time Limit Exceeded 0
131 6 0988.1 94928 86780 Accepted 100
132 6 1071.2 99316 90964 Time Limit Exceeded 0
133 6 0960.3 94116 85760 Accepted 100
134 6 1074.6 98380 90072 Time Limit Exceeded 0
135 6 1030.7 96324 88100 Time Limit Exceeded 0
136 6 0839.3 90996 82692 Accepted 100
137 6 0868.9 95748 87396 Accepted 100
138 6 0763.2 94560 86340 Accepted 100
139 6 0846.4 89544 81452 Accepted 100
140 6 0783.6 95088 86980 Accepted 100
141 6 0838.2 89544 81452 Accepted 100
142 6 0796.2 89544 81300 Accepted 100
143 6 0757.4 90600 82348 Accepted 100
144 6 0866.2 89544 81320 Accepted 100
145 6 0843.3 93504 85332 Accepted 100
146 6 0860.4 95352 87264 Accepted 100
147 6 0752.9 94956 86572 Accepted 100
148 6 0783.3 95616 87376 Accepted 100
149 6 0829.3 95616 87472 Accepted 100
150 6 0794.9 94560 86452 Accepted 100
151 6 0797.7 93636 85404 Accepted 100
152 6 0848.6 95088 87000 Accepted 100
153 6 0795.9 93900 85548 Accepted 100
154 6 0824.1 91524 83412 Accepted 100
155 6 0718.5 93636 85328 Accepted 100
156 6 0722.7 94300 86200 Accepted 100
157 6 0635.6 90472 82132 Accepted 100
158 6 0677.3 90868 82616 Accepted 100
159 6 0720.6 91396 83148 Accepted 100
160 6 0712.4 92712 84488 Accepted 100
161 6 0661.2 90632 82420 Accepted 100
162 6 0643.7 90300 81916 Accepted 100
163 6 0653.9 90076 81844 Accepted 100
164 6 0646.0 90504 82276 Accepted 100
165 6 0647.7 90908 82656 Accepted 100
166 6 0664.9 91400 83248 Accepted 100
167 6 0625.6 90448 82196 Accepted 100
168 6 0662.3 92864 84508 Accepted 100
169 6 0677.1 94352 85964 Accepted 100
170 6 0659.7 94232 86004 Accepted 100
171 6 0644.3 92888 84932 Accepted 100
172 6 0648.3 90968 82724 Accepted 100
173 6 0698.3 97364 89016 Accepted 100
174 6 0650.0 91672 83300 Accepted 100
175 6 0680.5 95760 87796 Accepted 100
176 6 0644.7 91844 83608 Accepted 100
177 6 0672.3 94704 86432 Accepted 100
178 6 0703.3 98448 89572 Accepted 100
179 6 0699.2 98648 89240 Accepted 100
180 6 0709.9 98976 89276 Accepted 100
181 6 0691.7 98524 89248 Accepted 100
182 6 0697.1 98896 89624 Accepted 100
183 6 0698.5 98776 89444 Accepted 100
184 6 0707.8 98940 89616 Accepted 100
185 6 0697.0 98728 90024 Accepted 100
186 6 0720.4 98636 89728 Accepted 100
187 6 0714.6 98872 89856 Accepted 100
188 6 0697.9 98720 89972 Accepted 100
189 6 0705.8 98456 89192 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.64 KB
Back to Top