QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#401655#6436. Paimon PolygonqiuzxWA 1ms4500kbC++205.1kb2024-04-29 07:47:272024-04-29 07:47:27

詳細信息

Test #1:

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

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

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: -100
Wrong Answer
time: 1ms
memory: 4240kb

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:

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

result:

wrong answer 1st numbers differ - expected: '25.1141681', found: '-1.0000000', error = '1.0398182'