QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#136993#6620. Linear Fractional Transformationnew_dawn_2#WA 267ms3764kbC++173.8kb2023-08-09 16:30:262023-08-09 16:30:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.00000000 0.00000000
0.00000000 1.00000000

result:

ok 4 numbers

Test #2:

score: -100
Wrong Answer
time: 267ms
memory: 3728kb

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:


-nan -nan
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.00000000 0.00000000
1.0...

result:

wrong output format Expected double, but "-nan" found