QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#401587#6436. Paimon PolygonqiuzxWA 2ms16560kbC++205.2kb2024-04-28 23:03:322024-04-28 23:03:33

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 14488kb

input:

3
4
0 3
3 0
2 3
3 2
5
4 0
5 -5
-4 -2
1 -2
-5 -2
4
0 1
1 0
0 2
1 1

output:

17.211102550927979
36.632694762137206
0.000000000000000

result:

ok 3 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 16560kb

input:

14
4
0 3
1 3
3 1
3 0
4
-4 0
5 3
0 -4
-1 0
5
4 4
5 0
3 3
3 2
-4 2
5
1 1
2 4
1 4
0 4
-1 1
4
4 5
-2 4
1 4
-5 -2
5
3 5
3 -1
4 -5
4 1
2 4
5
4 0
5 -5
-4 -2
1 -2
-5 -2
5
3 4
3 5
-5 -1
1 2
4 1
5
-5 -3
3 -3
-3 -3
2 -3
-4 5
5
0 1
-3 -1
-3 -3
-4 -4
-3 0
6
1 -3
-3 -3
2 -2
-3 1
-4 -5
3 -3
6
-1 -4
-3 0
0 4
-4 -3
...

output:

14.324555320336760
0.000000000000000
30.689644794435836
18.748224025700189
30.254012217852342
27.821068291826883
36.632694762137206
33.409725867074087
29.556214635433953
0.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000

result:

ok 14 numbers

Test #3:

score: -100
Wrong Answer
time: 2ms
memory: 14476kb

input:

100
6
-4 1
-1 4
1 4
-4 -1
-2 3
3 2
7
-5641417 962017
-5641417 -962017
-5719589 193284
-5693492 -578972
-5693492 578972
-5563601 1340673
-5719589 -193284
9
-25 55
58 15
-13 14
-1 19
-60 6
-17 8
11 15
16 58
16 11
10
398546 -221163
-87181 -447383
-221163 -398546
-467649 -57196
55334 -452427
-427086 -19...

output:

25.114168051655682
24824262.683584764599800
359.109758585846066
3042924.921086786780506
547.754162500889720
62188.886266667039308
34663049.530452467501163
51604481.697992786765099
2264792232.411318778991699
69911.177769532718230
6924993.002383587881923
27901.960485940569924
0.000000000000000
6886995...

result:

wrong answer 81st numbers differ - expected: '23155159.2660805', found: '23819228.1373386', error = '0.0286791'