QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#421840#6763. Triangle Pendantucup-team874WA 2ms3972kbC++174.1kb2024-05-26 07:37:152024-05-26 07:37:15

详细

Test #1:

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

input:

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

output:

-0.816496580927726 -0.816496580927726 -0.816496580927726
-2.000000000000000 -2.866025403784438 -2.866025403784438

result:

ok 6 numbers

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3972kb

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.935856727586835 -2.000000000000001 -13.352348999857675
-22.146476218003023 -16.076204705476879 -12.241826659011300
-28.027431433359688 -18.318582636182754 -8.243362186282187
nan nan nan
-26.534933366925678 -22.066632132649350 -29.616079568529670
-26.967804477491708 -12.557669395973875 -14.1867221...

result:

wrong output format Expected double, but "nan" found