QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#421892#6763. Triangle Pendantucup-team874WA 3ms3884kbC++174.8kb2024-05-26 09:25:062024-05-26 09:25:07

詳細信息

Test #1:

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

input:

2
1 1 1 1 1 1
2 3 3 1 1 1

output:

-0.816496580927726 -0.816496580927726 -0.816496580927726
-2.000000000000000 -2.866025403784439 -2.866025403784439

result:

ok 6 numbers

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3792kb

input:

1000
21 2 14 12 13 4
29 19 13 15 10 17
29 24 15 29 24 23
29 17 30 18 9 25
27 24 30 16 4 15
28 13 17 12 21 16
16 22 10 22 15 8
15 23 24 23 27 13
26 3 27 15 16 17
5 8 20 17 6 12
24 14 13 15 19 13
27 22 18 18 23 30
22 18 14 11 29 28
7 13 22 22 17 11
19 9 16 22 20 17
21 14 20 6 29 25
20 10 19 9 27 27
17...

output:

-2.935856727586833 -2.000000000000000 -13.352348999857674
-22.146476218003023 -16.076204705476878 -12.241826659011300
-28.027431433359673 -18.318582636182793 -8.243362186282257
-27.266119651334361 -13.159319584325651 -26.882525397692707
-26.534933366925672 -22.066632132649342 -29.616079568529664
-26...

result:

wrong answer 679th numbers differ - expected: '-20.17609', found: '-20.03878', error = '0.00681'