QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#423938#3711. Floyd-WarshallZhangYiDeWA 1ms3688kbC++231.4kb2024-05-28 19:51:442024-05-28 19:51:44

详细

Test #1:

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

input:

4 5 3
1 2
1 3
1 4
2 3
3 4
2 2
2 3
2 4

output:

0
1
2

result:

ok 3 number(s): "0 1 2"

Test #2:

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

input:

1 2 1
1 1
1 1
1 1

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: -100
Wrong Answer
time: 1ms
memory: 3656kb

input:

5 7 10
5 3
1 2
4 1
2 5
3 4
2 2
1 3
5 5
4 5
3 2
4 4
5 3
3 5
2 4
4 2
5 3
4 2

output:

0
3
3
0
1
4
3
2
1
2

result:

wrong answer 2nd numbers differ - expected: '2', found: '3'