QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#274165#7604. Find the VertexGuanYunchangWA 4ms17332kbC++17525b2023-12-03 12:23:042023-12-03 12:23:06

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 16084kb

input:

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

output:

2

result:

ok 1 number(s): "2"

Test #2:

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

input:

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

output:

1

result:

ok 1 number(s): "1"

Test #3:

score: -100
Wrong Answer
time: 4ms
memory: 17332kb

input:

10 9
1 2 0 0 0 0 2 2 1 0
1 4
8 5
4 9
10 8
3 8
9 8
7 9
6 8
2 9

output:

2

result:

wrong answer 1st numbers differ - expected: '4', found: '2'