QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#268360#7734. Intersection over Unionucup-team1005TL 2ms3732kbC++175.1kb2023-11-28 16:29:572023-11-28 16:29:58

詳細信息

Test #1:

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

input:

3
0 2 2 0 0 -2 -2 0
7 -2 9 -2 9 2 7 2
7 13 11 10 5 2 1 5

output:

0.707106781187
1
0.623843224831

result:

ok 3 numbers

Test #2:

score: -100
Time Limit Exceeded

input:

10000
-568767734 379152673 -565681345 -54946093 -131582579 -51859704 -134668968 382239062
-194884120 -559906233 -194884142 -158042604 -998611400 -158042648 -998611378 -559906277
459335966 -945199065 478030260 -934243779 450535683 -887326546 431841389 -898281832
-483567491 491964356 -523827401 408140...

output:

0.992965427794
0.000000000000
0.000000000000
17255010830.150844573975
0.578832384261
1
0.000000000000
0.685234580574
0.000000000000
0.500287402225
7834239107.260580062866
0.000000000000
0.000000000000
0.000000000000
0.000000000000
0.892558700800
0.617680326733
0.945676970501
2.004969308423
0.0000000...

result: