QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#603696#1080. Unreal Estate3un_larryfuncAC ✓1160ms15920kbC++202.9kb2024-10-01 18:21:542024-10-01 18:21:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1160ms
memory: 15920kb

input:

2
0 0 100 100
30 30 60 60
2
0 100 300 200
100 0 200 300
10
0 0 100 100
0 0 100 100
0 0 100 100
0 0 100 100
0 0 100 100
0 0 100 100
0 0 100 100
0 0 100 100
0 0 100 100
0 0 100 100
4000
709.00 143.83 709.25 873.14
331.00 60.72 331.25 893.57
940.50 142.82 940.75 791.43
116.51 48.50 911.15 48.75
980.00 ...

output:

10000.00
50000.00
10000.00
609567.11
808824.16
945654.43
946432.89
944216.15
1000000.00
405000.00
500000.00
594100.00
1000000.00
1000000.00
10000.00
50000.00
10000.00
609567.11
808824.16
945654.43
946432.89
944216.15
1000000.00
405000.00
500000.00
594100.00
1000000.00
1000000.00
10000.00
50000.00
10...

result:

ok 42 lines