QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#221740#1777. Fortune From FollyZhangYiDeWA 1ms3868kbC++202.4kb2023-10-21 14:26:062023-10-21 14:26:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3868kb

input:

2 1 0.0006

output:

1666.6666666665

result:

ok found '1666.6666667', expected '1666.6666667', error '0.0000000'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3756kb

input:

2 1 0.0043

output:

232.5581395349

result:

ok found '232.5581395', expected '232.5581395', error '0.0000000'

Test #3:

score: 0
Accepted
time: 1ms
memory: 3864kb

input:

2 1 0.4202

output:

2.3798191337

result:

ok found '2.3798191', expected '2.3798191', error '0.0000000'

Test #4:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

2 1 0.6729

output:

1.4861049190

result:

ok found '1.4861049', expected '1.4861049', error '0.0000000'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3628kb

input:

2 1 0.9925

output:

1.0075566751

result:

ok found '1.0075567', expected '1.0075567', error '0.0000000'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

2 1 0.9999

output:

1.0001000100

result:

ok found '1.0001000', expected '1.0001000', error '0.0000000'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3760kb

input:

2 2 0.0006

output:

2779444.4440968754

result:

ok found '2779444.4440969', expected '2779444.4444444', error '0.0000000'

Test #8:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

2 2 0.0072

output:

19429.0123456851

result:

ok found '19429.0123457', expected '19429.0123457', error '0.0000000'

Test #9:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

2 2 0.0848

output:

150.8543965824

result:

ok found '150.8543966', expected '150.8543966', error '0.0000000'

Test #10:

score: 0
Accepted
time: 1ms
memory: 3868kb

input:

2 2 0.7554

output:

3.0762535865

result:

ok found '3.0762536', expected '3.0762536', error '0.0000000'

Test #11:

score: 0
Accepted
time: 0ms
memory: 3808kb

input:

2 2 0.9980

output:

2.0060160401

result:

ok found '2.0060160', expected '2.0060160', error '0.0000000'

Test #12:

score: 0
Accepted
time: 0ms
memory: 3864kb

input:

2 2 0.9995

output:

2.0015010006

result:

ok found '2.0015010', expected '2.0015010', error '0.0000000'

Test #13:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

3 1 0.0008

output:

1250.0000000000

result:

ok found '1250.0000000', expected '1250.0000000', error '0.0000000'

Test #14:

score: 0
Accepted
time: 1ms
memory: 3696kb

input:

3 1 0.0063

output:

158.7301587302

result:

ok found '158.7301587', expected '158.7301587', error '0.0000000'

Test #15:

score: 0
Accepted
time: 0ms
memory: 3812kb

input:

3 1 0.4356

output:

2.2956841139

result:

ok found '2.2956841', expected '2.2956841', error '0.0000000'

Test #16:

score: 0
Accepted
time: 0ms
memory: 3700kb

input:

3 1 0.5963

output:

1.6770082173

result:

ok found '1.6770082', expected '1.6770082', error '0.0000000'

Test #17:

score: 0
Accepted
time: 0ms
memory: 3592kb

input:

3 1 0.9947

output:

1.0053282397

result:

ok found '1.0053282', expected '1.0053282', error '0.0000000'

Test #18:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

3 1 0.9997

output:

1.0003000900

result:

ok found '1.0003001', expected '1.0003001', error '0.0000000'

Test #19:

score: 0
Accepted
time: 0ms
memory: 3808kb

input:

3 2 0.0009

output:

618672.9645578376

result:

ok found '618672.9645578', expected '618672.9645624', error '0.0000000'

Test #20:

score: 0
Accepted
time: 1ms
memory: 3704kb

input:

3 2 0.0082

output:

7588.6145092568

result:

ok found '7588.6145093', expected '7588.6145093', error '0.0000000'

Test #21:

score: 0
Accepted
time: 1ms
memory: 3600kb

input:

3 2 0.3372

output:

8.2547364887

result:

ok found '8.2547365', expected '8.2547365', error '0.0000000'

Test #22:

score: 0
Accepted
time: 0ms
memory: 3812kb

input:

3 2 0.5760

output:

3.8527415817

result:

ok found '3.8527416', expected '3.8527416', error '0.0000000'

Test #23:

score: 0
Accepted
time: 1ms
memory: 3816kb

input:

3 2 0.9905

output:

2.0192733550

result:

ok found '2.0192734', expected '2.0192734', error '0.0000000'

Test #24:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

3 2 0.9999

output:

2.0002000300

result:

ok found '2.0002000', expected '2.0002000', error '0.0000000'

Test #25:

score: -100
Wrong Answer
time: 1ms
memory: 3788kb

input:

3 3 0.0071

output:

10236.6937596519

result:

wrong answer 1st numbers differ - expected: '2813968.8637678', found: '10236.6937597', error = '0.9963622'