QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#137003#6620. Linear Fractional Transformationnew_dawn_2#WA 442ms3868kbC++174.2kb2023-08-09 16:35:422023-08-09 16:35:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 442ms
memory: 3868kb

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.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0000000000 0.0000000000
1.0...

result:

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