QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#273384#7734. Intersection over Unionucup-team2424#WA 32ms3692kbC++234.5kb2023-12-02 23:30:122023-12-02 23:30:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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.707106781186212
1.000000000000000
0.623843224830787

result:

ok 3 numbers

Test #2:

score: -100
Wrong Answer
time: 32ms
memory: 3648kb

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.992965412526467
0.999999931568831
0.590869815678385
0.621770484910614
0.578832384134705
1.000000000000000
0.499999993434968
0.685234580573496
0.399748465310835
0.500287393901718
0.980296110592073
0.480451901792376
0.544037388706671
0.289761501003469
0.923118331764315
0.892558700859641
0.6176803195...

result:

wrong answer 7th numbers differ - expected: '0.5000000', found: '0.5000000', error = '0.0000000'