QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#697567#5540. City HallHuangHanShengWA 1ms6072kbC++202.4kb2024-11-01 14:54:112024-11-01 14:54:13

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 5872kb

input:

5 6 1 3
5 100 8 2 10
1 2
2 3
2 5
1 4
4 5
3 5

output:

4.500000

result:

ok found '4.5000000', expected '4.5000000', error '0.0000000'

Test #2:

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

input:

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

output:

3.000000

result:

ok found '3.0000000', expected '3.0000000', error '0.0000000'

Test #3:

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

input:

5 4 1 4
8 8 8 8 100
1 2
2 3
3 4
4 5

output:

0.000000

result:

ok found '0.0000000', expected '0.0000000', error '-0.0000000'

Test #4:

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

input:

2 1 1 2
0 100000
1 2

output:

10000000000.000000

result:

wrong answer 1st numbers differ - expected: '0.0000000', found: '10000000000.0000000', error = '10000000000.0000000'