QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#417636#6436. Paimon PolygonDiaosiWA 5ms27308kbC++174.5kb2024-05-22 20:16:382024-05-22 20:16:38

详细

Test #1:

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

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.2111025509
36.6326947621
0.0000000000

result:

ok 3 numbers

Test #2:

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

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.3245553203
0.0000000000
30.6896447944
18.7482240257
30.2540122179
27.8210682918
36.6326947621
33.4097258671
29.5562146354
0.0000000000
0.0000000000
0.0000000000
0.0000000000
0.0000000000

result:

ok 14 numbers

Test #3:

score: -100
Wrong Answer
time: 5ms
memory: 27064kb

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.1141680517
24824262.6835847616
359.1097585858
3042924.9210867869
547.7541625009
62188.8862666670
34663049.5304524609
51604481.6979927908
2264792232.4113188048
69911.1777695327
6924993.0023835884
27901.9604859406
0.0000000000
68869955.9200051023
741423.3147931471
35164453.6311062000
0.0000000000
3...

result:

wrong answer 17th numbers differ - expected: '671.8132617', found: '0.0000000', error = '1.0000000'