QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#742394#6620. Linear Fractional Transformationucup-team4645#WA 207ms3920kbC++231.6kb2024-11-13 16:31:382024-11-13 16:31:44

詳細信息

Test #1:

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

input:

2
-1 0 0 -1
0 1 -1 0
1 0 0 1
0 -1
-1 0 -1 0
0 1 0 -1
1 0 1 0
0 -1

output:

1.0000000000 0.0000000000
0.0000000000 1.0000000000

result:

ok 4 numbers

Test #2:

score: -100
Wrong Answer
time: 207ms
memory: 3920kb

input:

100000
0 0 -1 1
1 1 1 0
1 0 1 -1
-1 0
-1 -1 -1 1
1 -1 1 -1
-1 0 1 0
-1 -1
-1 -1 0 -1
-1 1 -1 -1
0 -1 0 0
1 1
1 0 0 -1
0 0 0 0
-1 -1 1 0
1 1
-1 -1 0 -1
0 1 1 -1
1 0 -1 -1
1 -1
0 1 1 -1
1 0 1 0
0 -1 0 1
-1 -1
1 1 -1 1
0 0 -1 -1
0 1 0 1
1 0
1 1 1 -1
0 1 -1 -1
1 0 -1 0
1 -1
1 0 -1 1
-1 -1 1 0
0 -1 0 1
0...

output:

-0.7500000000 0.0000000000
0.5000000000 0.5000000000
-1.0000000000 1.0000000000
0.0000000000 1.5000000000
0.5000000000 -2.5000000000
1.0000000000 0.5000000000
0.5000000000 0.5000000000
2.2500000000 -0.2500000000
0.7500000000 -0.7500000000
3.5000000000 -1.5000000000
1.5000000000 -0.5000000000
-0.7500...

result:

wrong answer 1st numbers differ - expected: '1.0000000', found: '-0.7500000', error = '1.7500000'