QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#363830#7903. Computational Intelligenceucup-team118WA 1ms3848kbC++236.2kb2024-03-24 04:01:162024-03-24 04:01:17

详细

Test #1:

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

input:

3
0 0 1 0
0 0 1 0
0 0 1 0
0 0 0 1
0 0 1 0
0 1 1 1

output:

0.333333333333333333315263297125
0.765195716464212691352957118607
1.076635732895178008895926968780

result:

ok 3 numbers

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3848kb

input:

3
0 1 0 0
0 -1 0 2
0 0 1 0
2 0 -1 0
-1000 0 0 999
0 -998 999 0

output:

0.777777777777777777699474287543
0.777777777777777777699474287543
-6455.355199042076381310550914349733

result:

wrong answer 3rd numbers differ - expected: '1521.0704050', found: '-6455.3551990', error = '5.2439556'