QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#476399#8650. Island Hoppingegypt_ioi2024b_05#2 1ms3948kbC++201.5kb2024-07-13 19:16:272024-07-13 19:16:27

详细

Subtask #1:

score: 2
Accepted

Test #1:

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

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: 3872kb

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: 3880kb

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: 3944kb

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: 3948kb

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: 0ms
memory: 3864kb

input:

299 89401
29
35
171
0
0
0
122
0
59
0
99
0
72
0
99
87
0
96
0
109
0
106
0
109
101
0
171
-1

output:

1 1
1 2
1 3
-1 29
-1 35
-1 171
29 2
-29 122
122 2
-59 122
59 1
-59 99
99 2
-72 99
72 1
35 2
-35 87
87 2
-87 96
96 2
-96 109
109 2
-106 109
106 1
171 2
-101 171
101 1
0 0

result:

wrong answer Wrong Answer [7]

Subtask #5:

score: 0
Wrong Answer

Test #23:

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

input:

299 897
140
269
276
0
0
0
288
0
140
125
0
107
0
125
57
0
256
0
104
0
236
0
169
0
54
0
86
0
54
-1

output:

1 1
1 2
1 3
-1 140
-1 269
-1 276
140 2
-140 288
288 2
269 2
-125 269
125 1
-107 125
107 1
276 2
-57 276
57 1
-57 256
256 2
-104 256
104 1
-104 236
236 2
-169 236
169 1
-54 169
54 1
-54 86
86 2
0 0

result:

wrong answer Wrong Answer [7]

Subtask #6:

score: 0
Wrong Answer

Test #32:

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

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: 1ms
memory: 3864kb

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: 1ms
memory: 3756kb

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]