2022 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
2023 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
2024 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
Back to Submissions List
Problem
Total Time (ms)
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 |
Accepted |
100 |
|
|
1 |
1
4
5
6
|
0041.4 |
49968 |
Accepted |
100 |
|
|
2 |
1
4
5
6
|
0040.8 |
49968 |
Accepted |
100 |
|
|
3 |
2
6
|
0039.4 |
49968 |
Accepted |
100 |
|
|
4 |
2
6
|
1104.2 |
100108 |
Time Limit Exceeded |
0 |
|
|
5 |
2
6
|
1112.8 |
100108 |
Time Limit Exceeded |
0 |
|
|
6 |
2
6
|
1109.5 |
100108 |
Time Limit Exceeded |
0 |
|
|
7 |
2
6
|
1081.8 |
100108 |
Time Limit Exceeded |
0 |
|
|
8 |
2
6
|
1106.6 |
100108 |
Time Limit Exceeded |
0 |
|
|
9 |
2
6
|
1111.8 |
100108 |
Time Limit Exceeded |
0 |
|
|
10 |
2
6
|
1113.4 |
100108 |
Time Limit Exceeded |
0 |
|
|
11 |
2
6
|
1106.6 |
100108 |
Time Limit Exceeded |
0 |
|
|
12 |
2
6
|
1069.6 |
100108 |
Time Limit Exceeded |
0 |
|
|
13 |
2
6
|
0694.9 |
99184 |
Accepted |
100 |
|
|
14 |
2
6
|
0708.2 |
99052 |
Accepted |
100 |
|
|
15 |
2
6
|
0716.5 |
99184 |
Accepted |
100 |
|
|
16 |
2
6
|
0706.5 |
98920 |
Accepted |
100 |
|
|
17 |
2
6
|
0708.7 |
99052 |
Accepted |
100 |
|
|
18 |
2
6
|
0702.2 |
98920 |
Accepted |
100 |
|
|
19 |
2
6
|
0711.4 |
98920 |
Accepted |
100 |
|
|
20 |
2
6
|
0719.4 |
98920 |
Accepted |
100 |
|
|
21 |
2
6
|
0715.6 |
98920 |
Accepted |
100 |
|
|
22 |
3
6
|
0809.8 |
89544 |
Accepted |
100 |
|
|
23 |
3
6
|
0817.1 |
89544 |
Accepted |
100 |
|
|
24 |
3
6
|
0834.9 |
89544 |
Accepted |
100 |
|
|
25 |
3
6
|
0796.1 |
89544 |
Accepted |
100 |
|
|
26 |
3
6
|
0826.0 |
89544 |
Accepted |
100 |
|
|
27 |
3
6
|
0822.0 |
89544 |
Accepted |
100 |
|
|
28 |
3
6
|
0846.3 |
89544 |
Accepted |
100 |
|
|
29 |
3
6
|
0821.4 |
89544 |
Accepted |
100 |
|
|
30 |
3
6
|
0852.0 |
89544 |
Accepted |
100 |
|
|
31 |
3
6
|
0821.5 |
89544 |
Accepted |
100 |
|
|
32 |
3
6
|
0815.0 |
89544 |
Accepted |
100 |
|
|
33 |
3
6
|
0807.9 |
89544 |
Accepted |
100 |
|
|
34 |
3
6
|
0846.2 |
89544 |
Accepted |
100 |
|
|
35 |
3
6
|
0812.4 |
89544 |
Accepted |
100 |
|
|
36 |
3
6
|
0855.0 |
89544 |
Accepted |
100 |
|
|
37 |
4
5
6
|
0040.2 |
49968 |
Accepted |
100 |
|
|
38 |
4
5
6
|
0041.4 |
49968 |
Accepted |
100 |
|
|
39 |
4
5
6
|
0040.9 |
49968 |
Accepted |
100 |
|
|
40 |
4
5
6
|
0040.3 |
49968 |
Accepted |
100 |
|
|
41 |
4
5
6
|
0041.1 |
49968 |
Accepted |
100 |
|
|
42 |
4
5
6
|
0040.0 |
49968 |
Accepted |
100 |
|
|
43 |
4
5
6
|
0041.6 |
49968 |
Accepted |
100 |
|
|
44 |
4
5
6
|
0041.0 |
49968 |
Accepted |
100 |
|
|
45 |
4
5
6
|
0040.6 |
49968 |
Accepted |
100 |
|
|
46 |
4
5
6
|
0040.0 |
49968 |
Accepted |
100 |
|
|
47 |
4
5
6
|
0040.7 |
49968 |
Accepted |
100 |
|
|
48 |
4
5
6
|
0041.7 |
49968 |
Accepted |
100 |
|
|
49 |
4
5
6
|
0041.1 |
49968 |
Accepted |
100 |
|
|
50 |
4
5
6
|
0041.0 |
49968 |
Accepted |
100 |
|
|
51 |
4
5
6
|
0041.3 |
49968 |
Accepted |
100 |
|
|
52 |
4
5
6
|
0041.3 |
49968 |
Accepted |
100 |
|
|
53 |
4
5
6
|
0040.8 |
49968 |
Accepted |
100 |
|
|
54 |
4
5
6
|
0040.8 |
49968 |
Accepted |
100 |
|
|
55 |
4
5
6
|
0043.6 |
49968 |
Accepted |
100 |
|
|
56 |
4
5
6
|
0040.6 |
49968 |
Accepted |
100 |
|
|
57 |
4
5
6
|
0041.7 |
49968 |
Accepted |
100 |
|
|
58 |
4
5
6
|
0042.7 |
49968 |
Accepted |
100 |
|
|
59 |
4
5
6
|
0040.4 |
49968 |
Accepted |
100 |
|
|
60 |
4
5
6
|
0042.8 |
49968 |
Accepted |
100 |
|
|
61 |
4
5
6
|
0040.3 |
49968 |
Accepted |
100 |
|
|
62 |
4
5
6
|
0040.6 |
49968 |
Accepted |
100 |
|
|
63 |
4
5
6
|
0041.0 |
49968 |
Accepted |
100 |
|
|
64 |
4
5
6
|
0041.1 |
49968 |
Accepted |
100 |
|
|
65 |
4
5
6
|
0040.9 |
49968 |
Accepted |
100 |
|
|
66 |
4
5
6
|
0040.8 |
49968 |
Accepted |
100 |
|
|
67 |
4
5
6
|
0041.3 |
49968 |
Accepted |
100 |
|
|
68 |
4
5
6
|
0040.4 |
49968 |
Accepted |
100 |
|
|
69 |
4
5
6
|
0040.8 |
49968 |
Accepted |
100 |
|
|
70 |
4
5
6
|
0038.3 |
49968 |
Accepted |
100 |
|
|
71 |
4
5
6
|
0041.0 |
49968 |
Accepted |
100 |
|
|
72 |
5
6
|
0047.3 |
50628 |
Accepted |
100 |
|
|
73 |
5
6
|
0047.4 |
50640 |
Accepted |
100 |
|
|
74 |
5
6
|
0047.7 |
50628 |
Accepted |
100 |
|
|
75 |
5
6
|
0047.2 |
50628 |
Accepted |
100 |
|
|
76 |
5
6
|
0047.0 |
50628 |
Accepted |
100 |
|
|
77 |
5
6
|
0047.1 |
50636 |
Accepted |
100 |
|
|
78 |
5
6
|
0047.4 |
50628 |
Accepted |
100 |
|
|
79 |
5
6
|
0047.4 |
50640 |
Accepted |
100 |
|
|
80 |
5
6
|
0046.7 |
50636 |
Accepted |
100 |
|
|
81 |
5
6
|
0048.5 |
50628 |
Accepted |
100 |
|
|
82 |
5
6
|
0048.0 |
50628 |
Accepted |
100 |
|
|
83 |
5
6
|
0047.9 |
50760 |
Accepted |
100 |
|
|
84 |
5
6
|
0047.9 |
50628 |
Accepted |
100 |
|
|
85 |
5
6
|
0047.0 |
50496 |
Accepted |
100 |
|
|
86 |
5
6
|
0046.1 |
50628 |
Accepted |
100 |
|
|
87 |
5
6
|
0049.0 |
50628 |
Accepted |
100 |
|
|
88 |
5
6
|
0046.1 |
50628 |
Accepted |
100 |
|
|
89 |
5
6
|
0046.0 |
50628 |
Accepted |
100 |
|
|
90 |
5
6
|
0045.7 |
50628 |
Accepted |
100 |
|
|
91 |
5
6
|
0047.5 |
50628 |
Accepted |
100 |
|
|
92 |
5
6
|
0046.0 |
50640 |
Accepted |
100 |
|
|
93 |
5
6
|
0045.1 |
50628 |
Accepted |
100 |
|
|
94 |
5
6
|
0046.1 |
50636 |
Accepted |
100 |
|
|
95 |
5
6
|
0044.4 |
50628 |
Accepted |
100 |
|
|
96 |
5
6
|
0047.3 |
50628 |
Accepted |
100 |
|
|
97 |
5
6
|
0044.8 |
50628 |
Accepted |
100 |
|
|
98 |
5
6
|
0047.7 |
50628 |
Accepted |
100 |
|
|
99 |
5
6
|
0044.0 |
50632 |
Accepted |
100 |
|
|
100 |
5
6
|
0046.0 |
50628 |
Accepted |
100 |
|
|
101 |
6
|
0872.9 |
96012 |
Accepted |
100 |
|
|
102 |
6
|
0898.3 |
95088 |
Accepted |
100 |
|
|
103 |
6
|
0883.1 |
95748 |
Accepted |
100 |
|
|
104 |
6
|
0854.2 |
95880 |
Accepted |
100 |
|
|
105 |
6
|
0891.6 |
95220 |
Accepted |
100 |
|
|
106 |
6
|
0835.6 |
93504 |
Accepted |
100 |
|
|
107 |
6
|
0827.5 |
91788 |
Accepted |
100 |
|
|
108 |
6
|
0804.2 |
89544 |
Accepted |
100 |
|
|
109 |
6
|
1075.2 |
100236 |
Time Limit Exceeded |
0 |
|
|
110 |
6
|
1073.2 |
100236 |
Time Limit Exceeded |
0 |
|
|
111 |
6
|
1072.1 |
100236 |
Time Limit Exceeded |
0 |
|
|
112 |
6
|
1113.2 |
100236 |
Time Limit Exceeded |
0 |
|
|
113 |
6
|
1115.2 |
100104 |
Time Limit Exceeded |
0 |
|
|
114 |
6
|
1078.2 |
100232 |
Time Limit Exceeded |
0 |
|
|
115 |
6
|
1104.2 |
100108 |
Time Limit Exceeded |
0 |
|
|
116 |
6
|
1087.5 |
100240 |
Time Limit Exceeded |
0 |
|
|
117 |
6
|
1077.1 |
100108 |
Time Limit Exceeded |
0 |
|
|
118 |
6
|
1084.0 |
100108 |
Time Limit Exceeded |
0 |
|
|
119 |
6
|
1086.8 |
99992 |
Time Limit Exceeded |
0 |
|
|
120 |
6
|
1098.1 |
99164 |
Time Limit Exceeded |
0 |
|
|
121 |
6
|
1088.0 |
99820 |
Time Limit Exceeded |
0 |
|
|
122 |
6
|
1028.5 |
97008 |
Time Limit Exceeded |
0 |
|
|
123 |
6
|
1056.6 |
96788 |
Time Limit Exceeded |
0 |
|
|
124 |
6
|
1097.0 |
99900 |
Time Limit Exceeded |
0 |
|
|
125 |
6
|
1092.0 |
98288 |
Time Limit Exceeded |
0 |
|
|
126 |
6
|
1084.0 |
97876 |
Time Limit Exceeded |
0 |
|
|
127 |
6
|
0975.6 |
94708 |
Accepted |
100 |
|
|
128 |
6
|
1003.0 |
95032 |
Time Limit Exceeded |
0 |
|
|
129 |
6
|
1066.7 |
97536 |
Time Limit Exceeded |
0 |
|
|
130 |
6
|
1006.4 |
97344 |
Time Limit Exceeded |
0 |
|
|
131 |
6
|
0988.1 |
94928 |
Accepted |
100 |
|
|
132 |
6
|
1071.2 |
99316 |
Time Limit Exceeded |
0 |
|
|
133 |
6
|
0960.3 |
94116 |
Accepted |
100 |
|
|
134 |
6
|
1074.6 |
98380 |
Time Limit Exceeded |
0 |
|
|
135 |
6
|
1030.7 |
96324 |
Time Limit Exceeded |
0 |
|
|
136 |
6
|
0839.3 |
90996 |
Accepted |
100 |
|
|
137 |
6
|
0868.9 |
95748 |
Accepted |
100 |
|
|
138 |
6
|
0763.2 |
94560 |
Accepted |
100 |
|
|
139 |
6
|
0846.4 |
89544 |
Accepted |
100 |
|
|
140 |
6
|
0783.6 |
95088 |
Accepted |
100 |
|
|
141 |
6
|
0838.2 |
89544 |
Accepted |
100 |
|
|
142 |
6
|
0796.2 |
89544 |
Accepted |
100 |
|
|
143 |
6
|
0757.4 |
90600 |
Accepted |
100 |
|
|
144 |
6
|
0866.2 |
89544 |
Accepted |
100 |
|
|
145 |
6
|
0843.3 |
93504 |
Accepted |
100 |
|
|
146 |
6
|
0860.4 |
95352 |
Accepted |
100 |
|
|
147 |
6
|
0752.9 |
94956 |
Accepted |
100 |
|
|
148 |
6
|
0783.3 |
95616 |
Accepted |
100 |
|
|
149 |
6
|
0829.3 |
95616 |
Accepted |
100 |
|
|
150 |
6
|
0794.9 |
94560 |
Accepted |
100 |
|
|
151 |
6
|
0797.7 |
93636 |
Accepted |
100 |
|
|
152 |
6
|
0848.6 |
95088 |
Accepted |
100 |
|
|
153 |
6
|
0795.9 |
93900 |
Accepted |
100 |
|
|
154 |
6
|
0824.1 |
91524 |
Accepted |
100 |
|
|
155 |
6
|
0718.5 |
93636 |
Accepted |
100 |
|
|
156 |
6
|
0722.7 |
94300 |
Accepted |
100 |
|
|
157 |
6
|
0635.6 |
90472 |
Accepted |
100 |
|
|
158 |
6
|
0677.3 |
90868 |
Accepted |
100 |
|
|
159 |
6
|
0720.6 |
91396 |
Accepted |
100 |
|
|
160 |
6
|
0712.4 |
92712 |
Accepted |
100 |
|
|
161 |
6
|
0661.2 |
90632 |
Accepted |
100 |
|
|
162 |
6
|
0643.7 |
90300 |
Accepted |
100 |
|
|
163 |
6
|
0653.9 |
90076 |
Accepted |
100 |
|
|
164 |
6
|
0646.0 |
90504 |
Accepted |
100 |
|
|
165 |
6
|
0647.7 |
90908 |
Accepted |
100 |
|
|
166 |
6
|
0664.9 |
91400 |
Accepted |
100 |
|
|
167 |
6
|
0625.6 |
90448 |
Accepted |
100 |
|
|
168 |
6
|
0662.3 |
92864 |
Accepted |
100 |
|
|
169 |
6
|
0677.1 |
94352 |
Accepted |
100 |
|
|
170 |
6
|
0659.7 |
94232 |
Accepted |
100 |
|
|
171 |
6
|
0644.3 |
92888 |
Accepted |
100 |
|
|
172 |
6
|
0648.3 |
90968 |
Accepted |
100 |
|
|
173 |
6
|
0698.3 |
97364 |
Accepted |
100 |
|
|
174 |
6
|
0650.0 |
91672 |
Accepted |
100 |
|
|
175 |
6
|
0680.5 |
95760 |
Accepted |
100 |
|
|
176 |
6
|
0644.7 |
91844 |
Accepted |
100 |
|
|
177 |
6
|
0672.3 |
94704 |
Accepted |
100 |
|
|
178 |
6
|
0703.3 |
98448 |
Accepted |
100 |
|
|
179 |
6
|
0699.2 |
98648 |
Accepted |
100 |
|
|
180 |
6
|
0709.9 |
98976 |
Accepted |
100 |
|
|
181 |
6
|
0691.7 |
98524 |
Accepted |
100 |
|
|
182 |
6
|
0697.1 |
98896 |
Accepted |
100 |
|
|
183 |
6
|
0698.5 |
98776 |
Accepted |
100 |
|
|
184 |
6
|
0707.8 |
98940 |
Accepted |
100 |
|
|
185 |
6
|
0697.0 |
98728 |
Accepted |
100 |
|
|
186 |
6
|
0720.4 |
98636 |
Accepted |
100 |
|
|
187 |
6
|
0714.6 |
98872 |
Accepted |
100 |
|
|
188 |
6
|
0697.9 |
98720 |
Accepted |
100 |
|
|
189 |
6
|
0705.8 |
98456 |
Accepted |
100 |
|
|
Submitter:
Compiler:
c++20
Code Length:
3.64 KB
Back to Top