QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#268416#7734. Intersection over Unionucup-team1005WA 1481ms4172kbC++175.6kb2023-11-28 17:07:502023-11-28 17:07:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 4060kb

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
Wrong Answer
time: 1481ms
memory: 4172kb

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.992965412526
0.999999931569
0.590869815679
0.621770484911
0.578832384135
1
0.499999997374
0.685234580574
0.455961719767
0.500287393902
0.980296110592
0.492043571792
0.544037388707
0.380480107105
0.923118331764
0.892558700860
0.617680319575
0.945676970215
0.499874372003
0.999954387824
0.64742147647...

result:

wrong answer 1072nd numbers differ - expected: '0.5000004', found: '1071.0000000', error = '1070.4999996'