QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#534160#2268. Solar Cartemp6WA 1ms8432kbC++202.5kb2024-08-26 21:22:282024-08-26 21:22:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5
7 0
3 3
0 7
-3 3
-7 0
6
1 1 3 3
3 3 4 4
1 1 5 5
5 5 2 2
2 2 4 4
1 5 1 5

output:

24.000000000000
20.440306508911
20.000000000000
19.000000000000
15.440306508911
21.606571644990

result:

ok 6 numbers

Test #2:

score: 0
Accepted
time: 1ms
memory: 8432kb

input:

3
186 689
716 695
247 -231
133
1 2 1 3
1 3 2 2
3 3 2 2
2 2 3 3
1 2 1 2
1 2 3 3
1 3 3 3
2 3 3 3
2 2 3 3
1 3 2 2
1 2 3 3
1 2 2 2
1 1 3 3
1 2 1 2
1 1 1 2
1 2 2 2
3 3 2 3
2 2 2 3
1 3 1 3
2 3 1 3
1 2 1 3
1 2 1 2
1 2 2 2
3 3 1 2
1 2 1 3
2 2 1 2
2 2 1 2
1 2 1 3
1 2 1 3
1 3 2 2
1 3 1 2
3 3 1 3
3 3 2 2
1 3 2...

output:

1810.025231211306
1829.354658422632
1452.054026033668
1452.054026033668
1960.016692983138
1510.042307667643
1698.692623862125
1764.023641142379
1452.054026033668
1829.354658422632
1510.042307667643
2018.004974617113
1568.030589301618
1960.016692983138
1902.028411349162
2018.004974617113
1764.0236411...

result:

ok 133 numbers

Test #3:

score: -100
Wrong Answer
time: 0ms
memory: 8336kb

input:

3
995 866
-744 999
-528 -207
133
1 2 2 3
2 3 2 3
1 2 2 3
1 2 1 3
1 2 3 3
2 2 2 2
1 3 1 3
3 3 3 3
1 1 2 3
3 3 3 3
1 3 1 1
1 1 3 3
1 2 2 3
2 3 1 2
1 3 1 1
3 3 2 3
1 1 2 3
2 3 1 3
1 2 1 3
1 1 2 2
1 3 1 3
1 1 1 2
1 1 3 3
1 3 1 1
2 2 1 2
2 2 1 3
1 2 1 3
1 2 2 3
2 3 2 2
1 3 1 2
1 2 2 3
1 3 2 3
2 3 1 2
1 3...

output:

3028.741817081745
3347.658461399007
3028.741817081745
3154.871587316690
3288.185795011433
2450.381194834797
3247.960987336316
3726.047772103839
3028.741817081744
3726.047772103839
3261.177135422443
2969.269150694170
3028.741817081745
3028.741817081745
3261.177135422443
3666.575105716267
3028.7418170...

result:

wrong answer 1st numbers differ - expected: '3288.1857950', found: '3028.7418171', error = '0.0789019'