2024 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
2023 全國模擬賽題目上線啦 !!!!! 題目在
這裡~
Back to Submissions List
Problem
Total Time (ms)
Score
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 |
6216 |
Accepted |
100 |
|
|
1 |
1
4
5
6
|
0002.7 |
6216 |
Accepted |
100 |
|
|
2 |
1
4
5
6
|
0002.7 |
6216 |
Accepted |
100 |
|
|
3 |
2
6
|
0002.7 |
6216 |
Accepted |
100 |
|
|
4 |
2
6
|
0173.1 |
31644 |
Accepted |
100 |
|
|
5 |
2
6
|
0174.3 |
31644 |
Accepted |
100 |
|
|
6 |
2
6
|
0173.2 |
31644 |
Accepted |
100 |
|
|
7 |
2
6
|
0174.4 |
31644 |
Accepted |
100 |
|
|
8 |
2
6
|
0172.4 |
31644 |
Accepted |
100 |
|
|
9 |
2
6
|
0179.9 |
31644 |
Accepted |
100 |
|
|
10 |
2
6
|
0173.1 |
31644 |
Accepted |
100 |
|
|
11 |
2
6
|
0174.3 |
31644 |
Accepted |
100 |
|
|
12 |
2
6
|
0177.0 |
31644 |
Accepted |
100 |
|
|
13 |
2
6
|
0108.4 |
31644 |
Accepted |
100 |
|
|
14 |
2
6
|
0112.8 |
31644 |
Accepted |
100 |
|
|
15 |
2
6
|
0104.4 |
31644 |
Accepted |
100 |
|
|
16 |
2
6
|
0107.7 |
31644 |
Accepted |
100 |
|
|
17 |
2
6
|
0105.1 |
31644 |
Accepted |
100 |
|
|
18 |
2
6
|
0103.6 |
31644 |
Accepted |
100 |
|
|
19 |
2
6
|
0106.5 |
31644 |
Accepted |
100 |
|
|
20 |
2
6
|
0107.9 |
31644 |
Accepted |
100 |
|
|
21 |
2
6
|
0104.8 |
31644 |
Accepted |
100 |
|
|
22 |
3
6
|
0183.8 |
27932 |
Accepted |
100 |
|
|
23 |
3
6
|
0180.6 |
27932 |
Accepted |
100 |
|
|
24 |
3
6
|
0179.1 |
27932 |
Accepted |
100 |
|
|
25 |
3
6
|
0180.3 |
27932 |
Accepted |
100 |
|
|
26 |
3
6
|
0178.9 |
27932 |
Accepted |
100 |
|
|
27 |
3
6
|
0183.9 |
27932 |
Accepted |
100 |
|
|
28 |
3
6
|
0180.7 |
27932 |
Accepted |
100 |
|
|
29 |
3
6
|
0180.3 |
27932 |
Accepted |
100 |
|
|
30 |
3
6
|
0178.4 |
27932 |
Accepted |
100 |
|
|
31 |
3
6
|
0180.1 |
27932 |
Accepted |
100 |
|
|
32 |
3
6
|
0183.6 |
27932 |
Accepted |
100 |
|
|
33 |
3
6
|
0178.8 |
27932 |
Accepted |
100 |
|
|
34 |
3
6
|
0181.2 |
27932 |
Accepted |
100 |
|
|
35 |
3
6
|
0179.2 |
27932 |
Accepted |
100 |
|
|
36 |
3
6
|
0181.3 |
27932 |
Accepted |
100 |
|
|
37 |
4
5
6
|
0002.7 |
6216 |
Accepted |
100 |
|
|
38 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
39 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
40 |
4
5
6
|
0003.4 |
6216 |
Accepted |
100 |
|
|
41 |
4
5
6
|
0002.8 |
6216 |
Accepted |
100 |
|
|
42 |
4
5
6
|
0002.7 |
6216 |
Accepted |
100 |
|
|
43 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
44 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
45 |
4
5
6
|
0002.7 |
6216 |
Accepted |
100 |
|
|
46 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
47 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
48 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
49 |
4
5
6
|
0002.8 |
6216 |
Accepted |
100 |
|
|
50 |
4
5
6
|
0002.8 |
6216 |
Accepted |
100 |
|
|
51 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
52 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
53 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
54 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
55 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
56 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
57 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
58 |
4
5
6
|
0002.4 |
6216 |
Accepted |
100 |
|
|
59 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
60 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
61 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
62 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
63 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
64 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
65 |
4
5
6
|
0002.7 |
6216 |
Accepted |
100 |
|
|
66 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
67 |
4
5
6
|
0002.4 |
6216 |
Accepted |
100 |
|
|
68 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
69 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
70 |
4
5
6
|
0002.5 |
6216 |
Accepted |
100 |
|
|
71 |
4
5
6
|
0002.6 |
6216 |
Accepted |
100 |
|
|
72 |
5
6
|
0004.8 |
6528 |
Accepted |
100 |
|
|
73 |
5
6
|
0004.9 |
6500 |
Accepted |
100 |
|
|
74 |
5
6
|
0004.9 |
6492 |
Accepted |
100 |
|
|
75 |
5
6
|
0004.7 |
6496 |
Accepted |
100 |
|
|
76 |
5
6
|
0004.9 |
6652 |
Accepted |
100 |
|
|
77 |
5
6
|
0004.9 |
6512 |
Accepted |
100 |
|
|
78 |
5
6
|
0005.0 |
6640 |
Accepted |
100 |
|
|
79 |
5
6
|
0005.7 |
6632 |
Accepted |
100 |
|
|
80 |
5
6
|
0004.9 |
6496 |
Accepted |
100 |
|
|
81 |
5
6
|
0004.9 |
6508 |
Accepted |
100 |
|
|
82 |
5
6
|
0004.9 |
6488 |
Accepted |
100 |
|
|
83 |
5
6
|
0004.8 |
6516 |
Accepted |
100 |
|
|
84 |
5
6
|
0004.8 |
6512 |
Accepted |
100 |
|
|
85 |
5
6
|
0004.8 |
6528 |
Accepted |
100 |
|
|
86 |
5
6
|
0004.8 |
6528 |
Accepted |
100 |
|
|
87 |
5
6
|
0004.9 |
6528 |
Accepted |
100 |
|
|
88 |
5
6
|
0004.8 |
6528 |
Accepted |
100 |
|
|
89 |
5
6
|
0004.2 |
6520 |
Accepted |
100 |
|
|
90 |
5
6
|
0004.3 |
6528 |
Accepted |
100 |
|
|
91 |
5
6
|
0003.7 |
6352 |
Accepted |
100 |
|
|
92 |
5
6
|
0003.7 |
6352 |
Accepted |
100 |
|
|
93 |
5
6
|
0003.9 |
6360 |
Accepted |
100 |
|
|
94 |
5
6
|
0003.7 |
6352 |
Accepted |
100 |
|
|
95 |
5
6
|
0003.8 |
6352 |
Accepted |
100 |
|
|
96 |
5
6
|
0003.7 |
6500 |
Accepted |
100 |
|
|
97 |
5
6
|
0003.9 |
6352 |
Accepted |
100 |
|
|
98 |
5
6
|
0003.8 |
6352 |
Accepted |
100 |
|
|
99 |
5
6
|
0003.9 |
6352 |
Accepted |
100 |
|
|
100 |
5
6
|
0003.7 |
6352 |
Accepted |
100 |
|
|
101 |
6
|
0180.2 |
28700 |
Accepted |
100 |
|
|
102 |
6
|
0178.3 |
30188 |
Accepted |
100 |
|
|
103 |
6
|
0173.4 |
28712 |
Accepted |
100 |
|
|
104 |
6
|
0177.2 |
28316 |
Accepted |
100 |
|
|
105 |
6
|
0176.1 |
28704 |
Accepted |
100 |
|
|
106 |
6
|
0182.3 |
27980 |
Accepted |
100 |
|
|
107 |
6
|
0180.5 |
27940 |
Accepted |
100 |
|
|
108 |
6
|
0181.7 |
27932 |
Accepted |
100 |
|
|
109 |
6
|
0170.8 |
31648 |
Accepted |
100 |
|
|
110 |
6
|
0173.4 |
31644 |
Accepted |
100 |
|
|
111 |
6
|
0176.2 |
31644 |
Accepted |
100 |
|
|
112 |
6
|
0171.7 |
31644 |
Accepted |
100 |
|
|
113 |
6
|
0171.0 |
31648 |
Accepted |
100 |
|
|
114 |
6
|
0172.5 |
31644 |
Accepted |
100 |
|
|
115 |
6
|
0173.7 |
31644 |
Accepted |
100 |
|
|
116 |
6
|
0173.1 |
31644 |
Accepted |
100 |
|
|
117 |
6
|
0174.6 |
31644 |
Accepted |
100 |
|
|
118 |
6
|
0171.8 |
31644 |
Accepted |
100 |
|
|
119 |
6
|
0174.0 |
31584 |
Accepted |
100 |
|
|
120 |
6
|
0180.8 |
33048 |
Accepted |
100 |
|
|
121 |
6
|
0186.7 |
31504 |
Accepted |
100 |
|
|
122 |
6
|
0190.9 |
28892 |
Accepted |
100 |
|
|
123 |
6
|
0192.2 |
31284 |
Accepted |
100 |
|
|
124 |
6
|
0181.3 |
31544 |
Accepted |
100 |
|
|
125 |
6
|
0184.8 |
33280 |
Accepted |
100 |
|
|
126 |
6
|
0187.6 |
32860 |
Accepted |
100 |
|
|
127 |
6
|
0196.9 |
29176 |
Accepted |
100 |
|
|
128 |
6
|
0195.7 |
29456 |
Accepted |
100 |
|
|
129 |
6
|
0190.2 |
29492 |
Accepted |
100 |
|
|
130 |
6
|
0185.0 |
29436 |
Accepted |
100 |
|
|
131 |
6
|
0189.5 |
29400 |
Accepted |
100 |
|
|
132 |
6
|
0177.4 |
31392 |
Accepted |
100 |
|
|
133 |
6
|
0187.2 |
28144 |
Accepted |
100 |
|
|
134 |
6
|
0187.3 |
33328 |
Accepted |
100 |
|
|
135 |
6
|
0189.0 |
31016 |
Accepted |
100 |
|
|
136 |
6
|
0178.4 |
27936 |
Accepted |
100 |
|
|
137 |
6
|
0147.2 |
28316 |
Accepted |
100 |
|
|
138 |
6
|
0140.1 |
28028 |
Accepted |
100 |
|
|
139 |
6
|
0179.2 |
27932 |
Accepted |
100 |
|
|
140 |
6
|
0137.7 |
28188 |
Accepted |
100 |
|
|
141 |
6
|
0179.8 |
27932 |
Accepted |
100 |
|
|
142 |
6
|
0182.7 |
27932 |
Accepted |
100 |
|
|
143 |
6
|
0144.6 |
27932 |
Accepted |
100 |
|
|
144 |
6
|
0180.4 |
27932 |
Accepted |
100 |
|
|
145 |
6
|
0179.1 |
27980 |
Accepted |
100 |
|
|
146 |
6
|
0180.1 |
28124 |
Accepted |
100 |
|
|
147 |
6
|
0122.9 |
24016 |
Accepted |
100 |
|
|
148 |
6
|
0098.5 |
18888 |
Accepted |
100 |
|
|
149 |
6
|
0137.5 |
25676 |
Accepted |
100 |
|
|
150 |
6
|
0143.2 |
28700 |
Accepted |
100 |
|
|
151 |
6
|
0142.0 |
28956 |
Accepted |
100 |
|
|
152 |
6
|
0176.5 |
28124 |
Accepted |
100 |
|
|
153 |
6
|
0141.3 |
28956 |
Accepted |
100 |
|
|
154 |
6
|
0179.3 |
27940 |
Accepted |
100 |
|
|
155 |
6
|
0102.0 |
24016 |
Accepted |
100 |
|
|
156 |
6
|
0086.2 |
18476 |
Accepted |
100 |
|
|
157 |
6
|
0073.8 |
17096 |
Accepted |
100 |
|
|
158 |
6
|
0103.8 |
24016 |
Accepted |
100 |
|
|
159 |
6
|
0087.5 |
20176 |
Accepted |
100 |
|
|
160 |
6
|
0103.9 |
23116 |
Accepted |
100 |
|
|
161 |
6
|
0079.8 |
18088 |
Accepted |
100 |
|
|
162 |
6
|
0075.0 |
15796 |
Accepted |
100 |
|
|
163 |
6
|
0077.1 |
17300 |
Accepted |
100 |
|
|
164 |
6
|
0079.6 |
16632 |
Accepted |
100 |
|
|
165 |
6
|
0075.7 |
16088 |
Accepted |
100 |
|
|
166 |
6
|
0083.8 |
19500 |
Accepted |
100 |
|
|
167 |
6
|
0075.8 |
16316 |
Accepted |
100 |
|
|
168 |
6
|
0080.4 |
18472 |
Accepted |
100 |
|
|
169 |
6
|
0084.5 |
19468 |
Accepted |
100 |
|
|
170 |
6
|
0084.1 |
19216 |
Accepted |
100 |
|
|
171 |
6
|
0081.2 |
19776 |
Accepted |
100 |
|
|
172 |
6
|
0088.7 |
16888 |
Accepted |
100 |
|
|
173 |
6
|
0088.4 |
22480 |
Accepted |
100 |
|
|
174 |
6
|
0080.6 |
17996 |
Accepted |
100 |
|
|
175 |
6
|
0087.3 |
20376 |
Accepted |
100 |
|
|
176 |
6
|
0079.5 |
17956 |
Accepted |
100 |
|
|
177 |
6
|
0082.7 |
19752 |
Accepted |
100 |
|
|
178 |
6
|
0087.7 |
22720 |
Accepted |
100 |
|
|
179 |
6
|
0090.1 |
22796 |
Accepted |
100 |
|
|
180 |
6
|
0087.3 |
22800 |
Accepted |
100 |
|
|
181 |
6
|
0088.7 |
22788 |
Accepted |
100 |
|
|
182 |
6
|
0088.8 |
22868 |
Accepted |
100 |
|
|
183 |
6
|
0088.8 |
22792 |
Accepted |
100 |
|
|
184 |
6
|
0088.2 |
22956 |
Accepted |
100 |
|
|
185 |
6
|
0091.8 |
22740 |
Accepted |
100 |
|
|
186 |
6
|
0087.3 |
22772 |
Accepted |
100 |
|
|
187 |
6
|
0088.0 |
22860 |
Accepted |
100 |
|
|
188 |
6
|
0088.5 |
22872 |
Accepted |
100 |
|
|
189 |
6
|
0089.7 |
22732 |
Accepted |
100 |
|
|
Submitter:
Compiler:
c++17
Code Length:
2.98 KB
Back to Top