QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#267629#7734. Intersection over Unionucup-team864#TL 1ms3820kbC++232.4kb2023-11-27 15:31:562023-11-27 15:31:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.707106781186547350692706004338
1
0.623843224831093556836947300326

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.992965412526470192489114197087
0.999999931568825606298389629956
0.590869815678626175703413991869
0.621770484910803777900412114832
0.578832384135127164803691357520
1
0.499999997374175664255346873688
0.685234580573869322961400030181
0.455961719767214945786548696560
0.500287393902085097963094995066
0...

result: