QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#401589#6436. Paimon PolygonqiuzxWA 1ms6480kbC++205.1kb2024-04-28 23:06:492024-04-28 23:06:50

詳細信息

Test #1:

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

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.632694762137213
0.000000000000000

result:

ok 3 numbers

Test #2:

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

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.632694762137213
33.409725867074087
29.556214635433953
0.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000

result:

ok 14 numbers

Test #3:

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

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:

ok 100 numbers

Test #4:

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

input:

100
5
-1 3
-3 -1
-2 -2
-2 2
-3 1
10
12304563 85714062
39425590 -77096858
-41257504 76132260
-63303220 -59084727
-14839769 -85311687
77575790 -38474659
85621241 -12934672
55622697 66365791
83459695 -23082068
21276755 -83938086
8
2890069 4853907
-4693652 -4650419
2902770 -2219431
-3844676 8770039
5979...

output:

16.809836694575331
787989807.665995478630066
0.000000000000000
1990.271775630684715
0.000000000000000
56.625430317853045
38028.264099990847171
535.665945559041916
235257.867558373109205
184.950513806060542
602881.371128721977584
46.484916049376281
4110.465944783206396
7564262751.121731758117676
4667...

result:

wrong answer 10th numbers differ - expected: '180.9505138', found: '184.9505138', error = '0.0221055'