QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#837148#9812. Binary SearchLGlcxWA 3ms12124kbC++141.2kb2024-12-29 16:57:162024-12-29 16:57:22

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 12124kb

input:

4 4
0 0 1 1
1 2
1 3
2 3
3 4

output:

4

result:

ok single line: '4'

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 11112kb

input:

6 7
0 0 1 1 0 1
1 2
3 1
1 4
2 3
4 2
3 4
5 6

output:

impossible

result:

wrong answer 1st lines differ - expected: 'infinity', found: 'impossible'