QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#367515#8505. Almost Aligneducup-team660TL 277ms955540kbC++146.2kb2024-03-26 04:01:192024-03-26 04:01:19

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 277ms
memory: 955372kb

input:

4
0 0 10 10
0 0 10 10
10 10 -10 -10
10 0 -20 0

output:

22.222222222222

result:

ok found '22.222222222', expected '22.222222222', error '0.000000000'

Test #2:

score: 0
Accepted
time: 247ms
memory: 955540kb

input:

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

output:

0.000000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #3:

score: 0
Accepted
time: 219ms
memory: 955468kb

input:

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

output:

4.000000000000

result:

ok found '4.000000000', expected '4.000000000', error '0.000000000'

Test #4:

score: 0
Accepted
time: 257ms
memory: 955412kb

input:

1
0 0 0 0

output:

0.000000000000

result:

ok found '0.000000000', expected '0.000000000', error '-0.000000000'

Test #5:

score: 0
Accepted
time: 247ms
memory: 955484kb

input:

4
1000000 1000000 -1 -1000000
1000000 -1000000 -1000000 1
-1000000 -1000000 1 1000000
-1000000 1000000 1000000 -1

output:

3999984000031.999952077866

result:

ok found '3999984000032.000000000', expected '3999984000032.000000000', error '0.000000000'

Test #6:

score: -100
Time Limit Exceeded

input:

1000000
-871226 486657 -467526 31395
-65837 846554 469710 -907814
927993 -45099 713462 -276539
261942 483255 746021 811070
63449 -779486 588838 -413687
812070 -87868 -813499 -420768
112521 -622607 -832012 921368
-182120 517379 -401743 -837524
-685985 337832 643014 135144
12895 326935 -495720 930620
...

output:

0.0370 -356042.5185 0.0065 1000480.3828
0.0455 -222775.2273 0.0154 -1001168.7257
0.1333 -718389.2667 0.0009 1000058.3193
0.1395 -1059447.0465 0.0006 -1000026.0794
0.1111 -242824.5556 0.0370 -356042.5185
0.0455 -222775.2273 0.0154 -1001168.7257
0.1333 -718389.2667 0.0009 1000058.3193
0.1395 -1059447....

result: