QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#268625#7734. Intersection over Unionucup-team1005TL 1ms3700kbC++175.0kb2023-11-28 19:10:172023-11-28 19:10:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.7071067812
1
0.6238432248

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.9929654125
0.9999999316
0.5908698157
0.6217704849
0.5788323841
1
0.4999999974
0.6852345806
0.4559617198
0.5002873939
0.9802961106
0.4920435718
0.5440373887
0.3804801071
0.9231183318
0.8925587009
0.6176803196
0.9456769702
0.4998743720
0.9999543878
0.6474214765
0.7778122048
0.5000000000
0.9560555504...

result: