QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#476360#8650. Island Hoppingegypt_ioi2024b_05#2 2ms3956kbC++201.4kb2024-07-13 19:03:172024-07-13 19:03:18

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 2
Accepted

Test #1:

score: 2
Accepted
time: 1ms
memory: 3928kb

input:

3 9
3
3
1
0
0

output:

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

result:

ok 

Test #2:

score: 0
Accepted
time: 0ms
memory: 3952kb

input:

3 9
3
3
1
0
0

output:

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

result:

ok 

Test #3:

score: 0
Accepted
time: 1ms
memory: 3956kb

input:

3 9
2
1
2
0
0

output:

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

result:

ok 

Subtask #2:

score: 0
Wrong Answer

Test #4:

score: 0
Wrong Answer
time: 1ms
memory: 3896kb

input:

299 89401
79
213
20
0
0
-1

output:

1 1
1 2
1 3
-1 79
-1 213
-1 20

result:

wrong answer Wrong Answer [5]

Subtask #3:

score: 0
Wrong Answer

Test #9:

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

input:

299 598
43
151
66
0
0
-1

output:

1 1
1 2
1 3
-1 43
-1 151
-1 66

result:

wrong answer Wrong Answer [5]

Subtask #4:

score: 0
Wrong Answer

Test #15:

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

input:

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

output:

1 1
1 2
1 3
-1 29
-1 35
-1 171
29 1
29 2
-29 122
122 1
122 2
-59 122
59 1
-59 99
99 1
99 2
-72 99
72 1
72 2
-72 194
194 1
-57 194
57 1
57 2
-57 268
268 1
268 2
-250 268
250 1
-9 250
9 1
-8 9
8 1
8 2
-8 83
83 1
83 2
-22 83
22 1
22 2
-22 289
289 1
289 2
-201 289
201 1
-201 229
229 1
229 2
-229 236
236...

result:

wrong answer Wrong Answer [5]

Subtask #5:

score: 0
Wrong Answer

Test #23:

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

input:

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

output:

1 1
1 2
1 3
-1 140
-1 269
-1 276
140 1
140 2
-140 288
288 1
-56 288
56 1
-56 138
138 1
138 2
-138 247
247 1
-123 247
123 1
-123 227
227 1
-8 227
8 1
8 2
-8 237
237 1
237 2
-152 237
152 1
-15 152
15 1
15 2
-15 207
207 1
207 2
-110 207
110 1
110 2
-110 240
240 1
-7 240
7 1
-7 174
174 1
174 2
-69 174
6...

result:

wrong answer Wrong Answer [5]

Subtask #6:

score: 0
Wrong Answer

Test #32:

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

input:

300 90000
133
179
89
0
0
-1

output:

1 1
1 2
1 3
-1 133
-1 179
-1 89

result:

wrong answer Wrong Answer [5]

Subtask #7:

score: 0
Wrong Answer

Test #58:

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

input:

300 900
201
228
171
0
0
-1

output:

1 1
1 2
1 3
-1 201
-1 228
-1 171

result:

wrong answer Wrong Answer [5]

Subtask #8:

score: 0
Wrong Answer

Test #84:

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

input:

299 598
86
94
224
0
0
-1

output:

1 1
1 2
1 3
-1 86
-1 94
-1 224

result:

wrong answer Wrong Answer [5]