QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#401572#6436. Paimon PolygonqiuzxWA 3ms16212kbC++204.4kb2024-04-28 22:44:402024-04-28 22:44:41

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 14700kb

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: 14472kb

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: 3ms
memory: 16212kb

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:

-7331 -955
-2519 2939
-4417 -8672
-136 -8973
-1193 4731
-9575 4323

result:

wrong answer 1st numbers differ - expected: '25.1141681', found: '-7331.0000000', error = '292.9069421'