QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#183032#7247. Hans ZimmercnyzAC ✓106ms4264kbC++141.4kb2023-09-18 21:05:562023-09-18 21:05:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2 4 1

output:

2.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

result:

ok jury = 2, participant = 2, relative error = 0

Test #2:

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

input:

42 24 2

output:

87.5000000000000168684510803984721860615536570549011230468750000000000000000000000000000000000000000000

result:

ok jury = 87.5, participant = 87.5, relative error = 1.624097682e-16

Test #3:

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

input:

1 1 5

output:

0.0092013888888888886310332367902964367800677791819907724857330322265625000000000000000000000000000000

result:

ok jury = 0.009201388889, participant = 0.009201388889, relative error = 1.207543499e-11

Test #4:

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

input:

1 1 1

output:

0.2500000000000000174014448683923461658196174539625644683837890625000000000000000000000000000000000000

result:

ok jury = 0.25, participant = 0.25, relative error = 0

Test #5:

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

input:

1 1000 1

output:

249.9999999999999581862253350550417962949723005294799804687500000000000000000000000000000000000000000000

result:

ok jury = 250, participant = 250, relative error = 1.136868377e-16

Test #6:

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

input:

1000 1 1

output:

249.9999999999999581862253350550417962949723005294799804687500000000000000000000000000000000000000000000

result:

ok jury = 250, participant = 250, relative error = 1.136868377e-16

Test #7:

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

input:

1000 1000 1

output:

249999.9999999998990887206673505716025829315185546875000000000000000000000000000000000000000000000000000000

result:

ok jury = 250000, participant = 250000, relative error = 3.492459655e-16

Test #8:

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

input:

1 1000 5

output:

9.2013888888888864516987786679180771898245438933372497558593750000000000000000000000000000000000000000

result:

ok jury = 9.201388889, participant = 9.201388889, relative error = 1.20758588e-11

Test #9:

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

input:

1000 1000 5

output:

9201.3888888888842734203876716492231935262680053710937500000000000000000000000000000000000000000000000000

result:

ok jury = 9201.388889, participant = 9201.388889, relative error = 1.207587116e-11

Test #10:

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

input:

1 1 10

output:

0.0009391233428172647941576631517787698832933074299944564700126647949218750000000000000000000000000000

result:

ok jury = 0.0009391233428, participant = 0.0009391233428, relative error = 1.838387588e-11

Test #11:

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

input:

1 1 2

output:

0.0868055555555555516787798707445400481219621724449098110198974609375000000000000000000000000000000000

result:

ok jury = 0.08680555556, participant = 0.08680555556, relative error = 5.120000423e-11

Test #12:

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

input:

1 1 3

output:

0.0364583333333333404371163176393988436529980390332639217376708984375000000000000000000000000000000000

result:

ok jury = 0.03645833333, participant = 0.03645833333, relative error = 9.142876932e-11

Test #13:

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

input:

1 1 4

output:

0.0174421296296296315333129636065967460467618366237729787826538085937500000000000000000000000000000000

result:

ok jury = 0.01744212963, participant = 0.01744212963, relative error = 2.123424197e-11

Test #14:

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

input:

1 1 100

output:

0.0000001507872879412449947230716432506993150523821878294938869657926261425018310546875000000000000000

result:

ok jury = 1.507872879e-07, participant = 1.507872879e-07, relative error = 2.735310077e-10

Test #15:

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

input:

1000 1000 100

output:

0.1507872879412449233294587352949278624691942241042852401733398437500000000000000000000000000000000000

result:

ok jury = 0.1507872879, participant = 0.1507872879, relative error = 2.735305125e-10

Test #16:

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

input:

1 1 1000

output:

0.0000000000159043986921668948173272669881071601870563806844713350407971574895782396197319030761718750

result:

ok jury = 1.590439869e-11, participant = 1.590439869e-11, relative error = 1.362449069e-10

Test #17:

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

input:

1000 1000 1000

output:

0.0000159043986921668872948733681904772384319013411868581897579133510589599609375000000000000000000000

result:

ok jury = 1.590439869e-05, participant = 1.590439869e-05, relative error = 1.362446888e-10

Test #18:

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

input:

1 1 10000

output:

0.0000000000000015990403998696618059416147898453921166546715053660112010932431436671663504967000335455

result:

ok jury = 1.5990404e-15, participant = 1.5990404e-15, relative error = 8.151023736e-11

Test #19:

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

input:

1000 1000 10000

output:

0.0000000015990403998696610485513108175668602996060633364416858626100292894989252090454101562500000000

result:

ok jury = 1.5990404e-09, participant = 1.5990404e-09, relative error = 8.151079605e-11

Test #20:

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

input:

1 1 100000

output:

0.0000000000000000001599904004007315801785044174058272202289506187575674957388332126382093911765025496

result:

ok jury = 1.599904004e-19, participant = 1.599904004e-19, relative error = 4.5725524e-12

Test #21:

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

input:

1000 1000 100000

output:

0.0000000000001599904004007315046157617438364190801532397286256878196630815125445224111899733543395996

result:

ok jury = 1.599904004e-13, participant = 1.599904004e-13, relative error = 4.572196583e-12

Test #22:

score: 0
Accepted
time: 106ms
memory: 4264kb

input:

1 1 1000000

output:

0.0000000000000000000000159999040006323452690800327413061496958759292678977249267162986988254628388864

result:

ok jury = 1.5999904e-23, participant = 1.5999904e-23, relative error = 3.952182657e-11

Test #23:

score: 0
Accepted
time: 106ms
memory: 4140kb

input:

1000 1000 1000000

output:

0.0000000000000000159999040006323376697814387568220126114813467955638850697005180767629184401812381111

result:

ok jury = 1.5999904e-17, participant = 1.5999904e-17, relative error = 3.952147514e-11

Test #24:

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

input:

1 1 123456

output:

0.0000000000000000000688731695151524560072647551396450690639359961765495796643632669779833133105739762

result:

ok jury = 6.887316951e-20, participant = 6.887316952e-20, relative error = 7.481073477e-11

Test #25:

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

input:

1000 1000 123456

output:

0.0000000000000688731695151524233468301738138835083611736517148177016273136175072977493982762098312378

result:

ok jury = 6.887316951e-14, participant = 6.887316952e-14, relative error = 7.48103064e-11

Test #26:

score: 0
Accepted
time: 41ms
memory: 4228kb

input:

1 1 424243

output:

0.0000000000000000000004939182799366508634109409813310316650565456429686772946784849753714785429437040

result:

ok jury = 4.939182799e-22, participant = 4.939182799e-22, relative error = 7.420433888e-11

Test #27:

score: 0
Accepted
time: 45ms
memory: 4204kb

input:

1000 1000 424243

output:

0.0000000000000004939182799366506290295044065391426946102573255997088242600506768908985577581916004419

result:

ok jury = 4.939182799e-16, participant = 4.939182799e-16, relative error = 7.42037251e-11

Test #28:

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

input:

1 1 20

output:

0.0000753731487305574562476373196137548887696411270553653594106435775756835937500000000000000000000000

result:

ok jury = 7.537314873e-05, participant = 7.537314873e-05, relative error = 7.395950798e-12

Test #29:

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

input:

1 1 30

output:

0.0000162971064032071566082567461251212614925520938413683325052261352539062500000000000000000000000000

result:

ok jury = 1.62971064e-05, participant = 1.62971064e-05, relative error = 1.967931017e-10

Test #30:

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

input:

1 1 50

output:

0.0000022768228277982351966776787196444385361071560680557013256475329399108886718750000000000000000000

result:

ok jury = 2.276822828e-06, participant = 2.276822828e-06, relative error = 8.861688297e-11

Test #31:

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

input:

1 1 200

output:

0.0000000097061491119702258925111367745532292073459140757663021759071853011846542358398437500000000000

result:

ok jury = 9.706149112e-09, participant = 9.706149112e-09, relative error = 3.067662879e-12

Test #32:

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

input:

1 1 300

output:

0.0000000019363452300390880179389990054077692245592702546819197095828712917864322662353515625000000000

result:

ok jury = 1.93634523e-09, participant = 1.93634523e-09, relative error = 2.01864862e-11

Test #33:

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

input:

1 1 500

output:

0.0000000002529534331279462101928342865470617753524587133923118287270881410222500562667846679687500000

result:

ok jury = 2.529534331e-10, participant = 2.529534331e-10, relative error = 1.104798024e-10

Test #34:

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

input:

1 1 700

output:

0.0000000000660710939677138003417631339835309999164688937907385923864467258681543171405792236328125000

result:

ok jury = 6.607109397e-11, participant = 6.607109397e-11, relative error = 3.46020904e-11

Test #35:

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

input:

1 1 2000

output:

0.0000000000009970062397664301043281398536071079076415637847639883428740859017125330865383148193359375

result:

ok jury = 9.970062398e-13, participant = 9.970062398e-13, relative error = 3.367068311e-11

Test #36:

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

input:

1 1 3000

output:

0.0000000000001971363505666799956993649171153743634089795815737280147705856592210693634115159511566162

result:

ok jury = 1.971363506e-13, participant = 1.971363506e-13, relative error = 1.690200471e-10

Test #37:

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

input:

1 1 5000

output:

0.0000000000000255693055832229767853063835700683711885064679629497343127386699279668391682207584381104

result:

ok jury = 2.556930558e-14, participant = 2.556930558e-14, relative error = 1.26048649e-10

Test #38:

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

input:

1 1 7000

output:

0.0000000000000066581815384131595180617768417970920261151534967373821294681079940858126064995303750038

result:

ok jury = 6.658181538e-15, participant = 6.658181538e-15, relative error = 6.20527988e-11

Test #39:

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

input:

1 1 20000

output:

0.0000000000000000999700062490749178366562421134746969672082392694926695136470665148387126919260481372

result:

ok jury = 9.997000625e-17, participant = 9.997000625e-17, relative error = 9.253648744e-12

Test #40:

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

input:

1 1 30000

output:

0.0000000000000000197491363511347046101393585777399286764563203052714905501297242701452816504570364486

result:

ok jury = 1.974913635e-17, participant = 1.974913635e-17, relative error = 5.745580142e-11

Test #41:

score: 0
Accepted
time: 5ms
memory: 4244kb

input:

1 1 50000

output:

0.0000000000000000025596928256040426700277182117279336763252408854237966667401367720086069468266032345

result:

ok jury = 2.559692826e-18, participant = 2.559692826e-18, relative error = 1.546893931e-10

Test #42:

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

input:

1 1 70000

output:

0.0000000000000000006663318889258598321841063246417015584136368927612715388221058818510322829808956158

result:

ok jury = 6.663318889e-19, participant = 6.663318889e-19, relative error = 3.880911402e-11

Test #43:

score: 0
Accepted
time: 22ms
memory: 4140kb

input:

1 1 200000

output:

0.0000000000000000000099997000063555328592967355591174653037296222253551733383662130635665885036722500

result:

ok jury = 9.999700006e-21, participant = 9.999700006e-21, relative error = 3.555433523e-11

Test #44:

score: 0
Accepted
time: 28ms
memory: 4124kb

input:

1 1 300000

output:

0.0000000000000000000019752691363532779441844048552349209930981413631144130344127270011803662944083193

result:

ok jury = 1.975269136e-21, participant = 1.975269136e-21, relative error = 1.788505615e-10

Test #45:

score: 0
Accepted
time: 53ms
memory: 4168kb

input:

1 1 500000

output:

0.0000000000000000000002559969280280953073583581195480573313669664475877050470501661577005578359841897

result:

ok jury = 2.55996928e-22, participant = 2.55996928e-22, relative error = 1.09748592e-10

Extra Test:

score: 0
Extra Test Passed