QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#450299#8650. Island Hoppingchen_zhe_0 5ms1612kbC++23319b2024-06-22 08:49:492024-06-22 08:49:50

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 1608kb

input:

3 9
3
1
0
2
3
0
1

output:

1 1
3 1
-1 3
3 2
2 1
-2 3
2 2
2 -1

result:

wrong answer Wrong Answer [2]

Subtask #2:

score: 0
Wrong Answer

Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 1612kb

input:

299 89401
79
1
0
253
77
93
77
0
256
93
0
208
211
208
0
237
68
210
68
0
283
210
0
240
171
240
0
281
140
248
140
0
162
61
162
0
276
10
72
10
0
139
72
0
269
139
0
271
129
271
0
286
2
242
2
0
216
13
216
0
239
13
0
202
112
86
112
0
115
86
0
189
115
0
195
42
96
42
0
284
85
124
85
0
279
124
0
156
218
110
2...

output:

1 1
79 1
-1 79
79 2
253 1
77 1
93 1
-77 93
93 2
256 1
-93 256
256 2
208 1
211 1
-208 211
211 2
237 1
68 1
210 1
-68 210
210 2
283 1
-210 283
283 2
240 1
171 1
-171 240
171 2
281 1
140 1
248 1
-140 248
248 2
162 1
61 1
-61 162
61 2
276 1
10 1
72 1
-10 72
72 2
139 1
-72 139
139 2
269 1
-139 269
269 2
...

result:

wrong answer Wrong Answer [7]

Subtask #3:

score: 0
Wrong Answer

Test #9:

score: 0
Wrong Answer
time: 2ms
memory: 1536kb

input:

299 598
43
1
0
66
43
0
128
66
0
278
128
0
183
141
183
0
236
141
0
201
236
0
296
201
0
263
165
263
0
277
165
0
230
277
0
294
110
153
24
82
24
0
235
9
147
9
0
198
147
0
267
162
111
162
0
250
111
0
202
34
158
34
0
174
142
68
142
0
160
42
160
0
253
42
0
123
136
63
136
0
237
63
0
260
149
227
149
0
177
22...

output:

1 1
43 1
-1 43
43 2
66 1
-43 66
66 2
128 1
-66 128
128 2
278 1
-128 278
278 2
183 1
141 1
-141 183
141 2
236 1
-141 236
236 2
201 1
-201 236
201 2
296 1
-201 296
296 2
263 1
165 1
-165 263
165 2
277 1
-165 277
277 2
230 1
-230 277
230 2
294 1
110 1
153 1
24 1
82 1
-24 82
82 2
235 1
9 1
147 1
-9 147
...

result:

wrong answer Wrong Answer [7]

Subtask #4:

score: 0
Wrong Answer

Test #15:

score: 0
Wrong Answer
time: 5ms
memory: 1524kb

input:

299 89401
29
1
0
122
29
0
59
99
59
0
72
99
0
194
57
194
0
268
57
0
250
9
8
9
0
83
8
0
22
83
0
289
22
0
201
229
201
0
236
138
164
38
90
38
0
212
86
33
86
0
185
33
0
69
185
0
282
69
0
140
214
140
0
252
214
0
248
97
189
97
0
249
189
0
283
163
230
2
153
2
0
298
153
0
227
58
190
58
0
184
190
0
267
184
0
...

output:

1 1
29 1
-1 29
29 2
122 1
-29 122
122 2
59 1
99 1
-59 99
99 2
72 1
-72 99
72 2
194 1
57 1
-57 194
57 2
268 1
-57 268
268 2
250 1
9 1
8 1
-8 9
8 2
83 1
-8 83
83 2
22 1
-22 83
22 2
289 1
-22 289
289 2
201 1
229 1
-201 229
229 2
236 1
138 1
164 1
38 1
90 1
-38 90
90 2
212 1
86 1
33 1
-33 86
33 2
185 1
...

result:

wrong answer Wrong Answer [7]

Subtask #5:

score: 0
Wrong Answer

Test #23:

score: 0
Wrong Answer
time: 2ms
memory: 1584kb

input:

299 897
140
1
0
288
56
138
56
0
247
123
227
8
227
0
237
8
0
152
15
152
0
207
15
0
110
207
0
240
7
174
7
0
69
131
40
101
40
0
273
101
0
291
242
257
33
197
33
0
233
168
233
0
286
76
222
76
0
285
75
241
75
0
172
241
0
275
10
65
10
0
199
13
117
13
0
278
117
0
193
219
193
0
215
95
176
95
0
217
176
0
268
...

output:

1 1
140 1
-1 140
140 2
288 1
56 1
138 1
-56 138
138 2
247 1
123 1
227 1
8 1
-8 227
8 2
237 1
-8 237
237 2
152 1
15 1
-15 152
15 2
207 1
-15 207
207 2
110 1
-110 207
110 2
240 1
7 1
174 1
-7 174
174 2
69 1
131 1
40 1
101 1
-40 101
101 2
273 1
-101 273
273 2
291 1
242 1
257 1
33 1
197 1
-33 197
197 2
...

result:

wrong answer Wrong Answer [7]

Subtask #6:

score: 0
Wrong Answer

Test #32:

score: 0
Wrong Answer
time: 0ms
memory: 1612kb

input:

300 90000
133
1
0
89
133
0
253
88
243
88
0
171
243
0
88
185
135
185
0
250
135
0
150
100
150
0
291
82
2
82
0
47
82
0
2
47
-1

output:

1 1
133 1
-1 133
133 2
89 1
-89 133
89 2
253 1
88 1
243 1
-88 243
243 2
171 1
-171 243
171 2
243 3
185 1
135 1
-135 185
135 2
250 1
-135 250
250 2
150 1
100 1
-100 150
100 2
291 1
82 1
2 1
-2 82
2 2
47 1
-47 82
47 2
82 2
-47 82

result:

wrong answer Wrong Answer [6]

Subtask #7:

score: 0
Wrong Answer

Test #58:

score: 0
Wrong Answer
time: 0ms
memory: 1596kb

input:

300 900
201
1
0
228
1
0
171
10
76
10
0
40
76
0
147
40
0
103
45
103
0
254
45
0
103
296
45
0
170
27
170
0
116
47
116
0
170
170
0
289
116
0
47
27
116
-1

output:

1 1
201 1
-1 201
201 2
228 1
-1 228
228 2
171 1
10 1
76 1
-10 76
76 2
40 1
-40 76
40 2
147 1
-40 147
147 2
103 1
45 1
-45 103
45 2
254 1
-45 254
254 2
45 3
296 1
-45 296
296 2
170 1
27 1
-27 170
27 2
116 1
47 1
-47 116
47 2
116 2
-116 170
116 3
289 1
-116 289
289 2
116 4
170 2
-116 170

result:

wrong answer Wrong Answer [6]

Subtask #8:

score: 0
Wrong Answer

Test #84:

score: 0
Wrong Answer
time: 0ms
memory: 1528kb

input:

299 598
86
1
0
94
1
0
224
94
0
240
84
172
30
127
30
0
285
127
0
212
73
95
73
0
212
212
0
285
285
0
95
238
12
238
0
150
35
150
0
173
74
173
0
137
173
0
74
137
-1

output:

1 1
86 1
-1 86
86 2
94 1
-1 94
94 2
224 1
-94 224
224 2
240 1
84 1
172 1
30 1
127 1
-30 127
127 2
285 1
-127 285
285 2
212 1
73 1
95 1
-73 95
95 2
73 2
-73 212
73 3
212 2
-212 285
212 3
285 3
238 1
12 1
-12 238
12 2
150 1
35 1
-35 150
35 2
173 1
74 1
-74 173
74 2
137 1
-137 173
137 2
173 2
-137 173

result:

wrong answer Wrong Answer [6]