QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#105208#5009. LightbulbsHuangHanShengAC ✓25ms66360kbC++14620b2023-05-13 16:46:122023-05-13 16:46:16

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 3 0.5

output:

1.8281250000000000

result:

ok found '1.82812', expected '1.82812', error '0.00000'

Test #2:

score: 0
Accepted
time: 3ms
memory: 7892kb

input:

47 74 1

output:

74.0000000000000000

result:

ok found '74.00000', expected '74.00000', error '0.00000'

Test #3:

score: 0
Accepted
time: 10ms
memory: 32664kb

input:

1029 939 0.8855861

output:

98.9918901051439376

result:

ok found '98.99189', expected '98.99189', error '0.00000'

Test #4:

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

input:

253 736 0.9414655

output:

159.6160091491425278

result:

ok found '159.61601', expected '159.61601', error '0.00000'

Test #5:

score: 0
Accepted
time: 11ms
memory: 26424kb

input:

1484 733 0.9973144

output:

733.0000000000000000

result:

ok found '733.00000', expected '733.00000', error '0.00000'

Test #6:

score: 0
Accepted
time: 20ms
memory: 50664kb

input:

788 1538 0.0531632

output:

4.4117967651817097

result:

ok found '4.41180', expected '4.41180', error '0.00000'

Test #7:

score: 0
Accepted
time: 18ms
memory: 53052kb

input:

920 1536 0.1090426

output:

6.1119258816410356

result:

ok found '6.11193', expected '6.11193', error '0.00000'

Test #8:

score: 0
Accepted
time: 14ms
memory: 46836kb

input:

1243 1331 0.1649220

output:

7.6591463846746852

result:

ok found '7.65915', expected '7.65915', error '0.00000'

Test #9:

score: 0
Accepted
time: 17ms
memory: 44964kb

input:

475 1318 0.2207709

output:

8.5509434772825589

result:

ok found '8.55094', expected '8.55094', error '0.00000'

Test #10:

score: 0
Accepted
time: 4ms
memory: 40732kb

input:

798 1113 0.2766503

output:

10.3488627362503149

result:

ok found '10.34886', expected '10.34886', error '0.00000'

Test #11:

score: 0
Accepted
time: 4ms
memory: 38836kb

input:

1130 1120 0.3325297

output:

12.4094437479320474

result:

ok found '12.40944', expected '12.40944', error '0.00000'

Test #12:

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

input:

453 118 0.3883786

output:

11.0089219676322050

result:

ok found '11.00892', expected '11.00892', error '0.00000'

Test #13:

score: 0
Accepted
time: 7ms
memory: 32564kb

input:

1675 913 0.4442579

output:

17.0173700062716990

result:

ok found '17.01737', expected '17.01737', error '0.00000'

Test #14:

score: 0
Accepted
time: 2ms
memory: 6052kb

input:

1909 100 0.5001373

output:

16.6444795868173806

result:

ok found '16.64448', expected '16.64448', error '0.00000'

Test #15:

score: 0
Accepted
time: 4ms
memory: 30676kb

input:

140 895 0.5560167

output:

19.0658707356168220

result:

ok found '19.06587', expected '19.06587', error '0.00000'

Test #16:

score: 0
Accepted
time: 4ms
memory: 32416kb

input:

1364 893 0.6118656

output:

27.2155051483921068

result:

ok found '27.21551', expected '27.21551', error '0.00000'

Test #17:

score: 0
Accepted
time: 3ms
memory: 26260kb

input:

665 698 0.6677450

output:

30.4091585450429273

result:

ok found '30.40916', expected '30.40916', error '0.00000'

Test #18:

score: 0
Accepted
time: 4ms
memory: 51556kb

input:

899 1695 0.7236244

output:

41.2493973290038697

result:

ok found '41.24940', expected '41.24940', error '0.00000'

Test #19:

score: 0
Accepted
time: 18ms
memory: 48968kb

input:

1121 1500 0.7794733

output:

53.1548697152751100

result:

ok found '53.15487', expected '53.15487', error '0.00000'

Test #20:

score: 0
Accepted
time: 13ms
memory: 51124kb

input:

354 1477 0.8353526

output:

65.6413487175284664

result:

ok found '65.64135', expected '65.64135', error '0.00000'

Test #21:

score: 0
Accepted
time: 12ms
memory: 44720kb

input:

876 1275 0.8912320

output:

105.4989150188957908

result:

ok found '105.49892', expected '105.49892', error '0.00000'

Test #22:

score: 0
Accepted
time: 10ms
memory: 44856kb

input:

1009 1280 0.9471114

output:

211.9634269995961508

result:

ok found '211.96343', expected '211.96343', error '0.00000'

Test #23:

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

input:

1029 939 0.8148304

output:

61.0808288723280545

result:

ok found '61.08083', expected '61.08083', error '0.00000'

Test #24:

score: 0
Accepted
time: 6ms
memory: 26220kb

input:

253 736 0.7410725

output:

37.2553760922236411

result:

ok found '37.25538', expected '37.25538', error '0.00000'

Test #25:

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

input:

1484 733 0.6380010

output:

29.3678715018030977

result:

ok found '29.36787', expected '29.36787', error '0.00000'

Test #26:

score: 0
Accepted
time: 23ms
memory: 50068kb

input:

788 1538 0.9987455

output:

1538.0000000000000000

result:

ok found '1538.00000', expected '1538.00000', error '0.00000'

Test #27:

score: 0
Accepted
time: 13ms
memory: 49636kb

input:

920 1536 0.9982458

output:

1536.0000000000000000

result:

ok found '1536.00000', expected '1536.00000', error '0.00000'

Test #28:

score: 0
Accepted
time: 9ms
memory: 45312kb

input:

1243 1331 0.9975471

output:

1331.0000000000000000

result:

ok found '1331.00000', expected '1331.00000', error '0.00000'

Test #29:

score: 0
Accepted
time: 8ms
memory: 43460kb

input:

475 1318 0.9965706

output:

1317.8545348012717923

result:

ok found '1317.85453', expected '1317.85453', error '0.00000'

Test #30:

score: 0
Accepted
time: 8ms
memory: 38632kb

input:

798 1113 0.9952046

output:

1112.4645291721138680

result:

ok found '1112.46453', expected '1112.46453', error '0.00000'

Test #31:

score: 0
Accepted
time: 3ms
memory: 38776kb

input:

1130 1120 0.9932945

output:

1081.8443889341582542

result:

ok found '1081.84439', expected '1081.84439', error '0.00000'

Test #32:

score: 0
Accepted
time: 3ms
memory: 8000kb

input:

453 118 0.9906252

output:

118.0000000000000000

result:

ok found '118.00000', expected '118.00000', error '0.00000'

Test #33:

score: 0
Accepted
time: 13ms
memory: 32476kb

input:

1675 913 0.9868909

output:

702.3323892031897858

result:

ok found '702.33239', expected '702.33239', error '0.00000'

Test #34:

score: 0
Accepted
time: 3ms
memory: 7892kb

input:

1909 100 0.9816693

output:

100.0000000000000000

result:

ok found '100.00000', expected '100.00000', error '0.00000'

Test #35:

score: 0
Accepted
time: 4ms
memory: 32408kb

input:

140 895 0.9743676

output:

318.2334251957926358

result:

ok found '318.23343', expected '318.23343', error '0.00000'

Test #36:

score: 0
Accepted
time: 4ms
memory: 32500kb

input:

1364 893 0.9641641

output:

298.1443787644042970

result:

ok found '298.14438', expected '298.14438', error '0.00000'

Test #37:

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

input:

665 698 0.9498898

output:

200.4524444322450595

result:

ok found '200.45244', expected '200.45244', error '0.00000'

Test #38:

score: 0
Accepted
time: 16ms
memory: 65156kb

input:

2000 2000 0.9370000

output:

198.0280835332251631

result:

ok found '198.02808', expected '198.02808', error '0.00000'

Test #39:

score: 0
Accepted
time: 2ms
memory: 3736kb

input:

2000 1 0.0010000

output:

0.8648000746025003

result:

ok found '0.86480', expected '0.86480', error '0.00000'

Test #40:

score: 0
Accepted
time: 25ms
memory: 66360kb

input:

1 2000 0.9974000

output:

855.0293453348893085

result:

ok found '855.02935', expected '855.02935', error '0.00000'

Test #41:

score: 0
Accepted
time: 21ms
memory: 66236kb

input:

2000 2000 1.0000000

output:

2000.0000000000000000

result:

ok found '2000.00000', expected '2000.00000', error '0.00000'

Test #42:

score: 0
Accepted
time: 25ms
memory: 64808kb

input:

2000 2000 0.0000000

output:

0.0000000000000000

result:

ok found '0.00000', expected '0.00000', error '-0.00000'