QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#831096#4003. Rounding MasterIchikawa^T (Frank Xiang, Junyao Wang, Hansong Sun) #AC ✓0ms4108kbC++201.5kb2024-12-25 10:31:472024-12-25 10:31:48

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

18 4

output:

2.12500039

result:

ok found '2.1250004', expected '2.1250000', error '0.0000002'

Test #2:

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

input:

1 1

output:

0.5

result:

ok found '0.5000000', expected '0.5000000', error '0.0000000'

Test #3:

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

input:

1000000000000000000 1000000000000000000

output:

1.50000083

result:

ok found '1.5000008', expected '1.5000000', error '0.0000006'

Test #4:

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

input:

2 100000

output:

1.50000095

result:

ok found '1.5000009', expected '1.5000000', error '0.0000006'

Test #5:

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

input:

1 1000000000000000000

output:

0.5

result:

ok found '0.5000000', expected '0.5000000', error '0.0000000'

Test #6:

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

input:

1000000000000000000 1

output:

1e+18

result:

ok found '1000000000000000000.0000000', expected '1000000000000000000.0000000', error '0.0000000'

Test #7:

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

input:

2 1000000000000000000

output:

1.50000095

result:

ok found '1.5000009', expected '1.5000000', error '0.0000006'

Test #8:

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

input:

1000000000000000000 2

output:

1000000000.00000036

result:

ok found '1000000000.0000004', expected '1000000000.0000000', error '0.0000000'

Test #9:

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

input:

265714758284843011 6476356347841896

output:

1.50000088

result:

ok found '1.5000009', expected '1.5000000', error '0.0000006'

Test #10:

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

input:

266540997167959139 92

output:

1.54166673

result:

ok found '1.5416667', expected '1.5416667', error '0.0000000'

Test #11:

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

input:

998169857863230070 46

output:

2.47406714

result:

ok found '2.4740671', expected '2.4740667', error '0.0000002'

Test #12:

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

input:

762322967106512617 94

output:

1.54428870

result:

ok found '1.5442887', expected '1.5442884', error '0.0000002'

Test #13:

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

input:

494087735053841727 1

output:

4.94088e+17

result:

ok found '494088000000000000.0000000', expected '494087735053841728.0000000', error '0.0000005'

Test #14:

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

input:

58564077538358873 97

output:

1.50000078

result:

ok found '1.5000008', expected '1.5000000', error '0.0000005'

Test #15:

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

input:

518101003270379436 40

output:

2.76999533

result:

ok found '2.7699953', expected '2.7699947', error '0.0000002'

Test #16:

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

input:

278796295010358752 12

output:

28.46974538

result:

ok found '28.4697454', expected '28.4697449', error '0.0000000'

Test #17:

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

input:

679814304673935850 67

output:

1.84243712

result:

ok found '1.8424371', expected '1.8424368', error '0.0000002'

Test #18:

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

input:

963457718519969787 22

output:

6.54731561

result:

ok found '6.5473156', expected '6.5473154', error '0.0000000'

Test #19:

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

input:

267367244641009859 41

output:

2.65295122

result:

ok found '2.6529512', expected '2.6529507', error '0.0000002'

Test #20:

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

input:

740983904691688417 65

output:

1.87759706

result:

ok found '1.8775971', expected '1.8775968', error '0.0000001'

Test #21:

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

input:

941365965213552512 82

output:

1.65531701

result:

ok found '1.6553170', expected '1.6553168', error '0.0000001'

Test #22:

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

input:

284337374294498000 38

output:

2.87220182

result:

ok found '2.8722018', expected '2.8722016', error '0.0000001'

Test #23:

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

input:

812120465372795700 38

output:

2.95631606

result:

ok found '2.9563161', expected '2.9563155', error '0.0000002'

Test #24:

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

input:

564561304973603673 7

output:

343.50000009

result:

ok found '343.5000001', expected '343.5000000', error '0.0000000'

Test #25:

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

input:

333368798444245171 30

output:

3.83461327

result:

ok found '3.8346133', expected '3.8346128', error '0.0000001'

Test #26:

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

input:

959976653971901732 69

output:

1.81705154

result:

ok found '1.8170515', expected '1.8170508', error '0.0000004'

Test #27:

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

input:

268193483524125987 37

output:

2.95456839

result:

ok found '2.9545684', expected '2.9545683', error '0.0000000'

Test #28:

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

input:

260425914665370955 71

output:

1.75299270

result:

ok found '1.7529927', expected '1.7529920', error '0.0000004'

Test #29:

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

input:

897036930760783895 17

output:

11.40400001

result:

ok found '11.4040000', expected '11.4040000', error '0.0000000'

Test #30:

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

input:

74587017830121569 24

output:

5.05158752

result:

ok found '5.0515875', expected '5.0515873', error '0.0000000'

Test #31:

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

input:

565676857502199822 83

output:

1.63450834

result:

ok found '1.6345083', expected '1.6345080', error '0.0000002'

Test #32:

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

input:

834393643531603718 27

output:

4.59558883

result:

ok found '4.5955888', expected '4.5955882', error '0.0000001'

Test #33:

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

input:

611313338732907397 47

output:

2.39655184

result:

ok found '2.3965518', expected '2.3965517', error '0.0000000'

Test #34:

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

input:

269019726702209411 91

output:

1.54913594

result:

ok found '1.5491359', expected '1.5491351', error '0.0000005'

Test #35:

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

input:

779867924639053494 90

output:

1.57577440

result:

ok found '1.5757744', expected '1.5757741', error '0.0000002'

Test #36:

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

input:

76079933162791087 6

output:

650.93525953

result:

ok found '650.9352595', expected '650.9352593', error '0.0000000'

Test #37:

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

input:

864836661365745138 48

output:

2.37054907

result:

ok found '2.3705491', expected '2.3705488', error '0.0000001'

Test #38:

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

input:

319233245336636649 83

output:

1.62255770

result:

ok found '1.6225577', expected '1.6225576', error '0.0000001'

Test #39:

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

input:

880853945234827955 98

output:

1.51874826

result:

ok found '1.5187483', expected '1.5187481', error '0.0000001'

Test #40:

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

input:

269845965585325539 86

output:

1.59021399

result:

ok found '1.5902140', expected '1.5902140', error '0.0000000'

Test #41:

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

input:

299309934612736033 50

output:

2.24716206

result:

ok found '2.2471621', expected '2.2471614', error '0.0000003'

Test #42:

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

input:

31750903004989766 46

output:

2.28921798

result:

ok found '2.2892180', expected '2.2892174', error '0.0000002'

Test #43:

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

input:

878458341756144515 26

output:

4.89875097

result:

ok found '4.8987510', expected '4.8987503', error '0.0000001'

Test #44:

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

input:

72789637466040772 32

output:

3.37780417

result:

ok found '3.3778042', expected '3.3778033', error '0.0000003'

Test #45:

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

input:

270672213058376259 95

output:

1.52010665

result:

ok found '1.5201067', expected '1.5201065', error '0.0000001'

Test #46:

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

input:

42123981441194380 57

output:

1.95421986

result:

ok found '1.9542199', expected '1.9542195', error '0.0000002'

Test #47:

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

input:

423890230884993629 93

output:

1.54168615

result:

ok found '1.5416862', expected '1.5416857', error '0.0000003'

Test #48:

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

input:

668707985291768083 4

output:

28596.33703020

result:

ok found '28596.3370302', expected '28596.3370297', error '0.0000000'

Test #49:

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

input:

271498451941492387 52

output:

2.16864942

result:

ok found '2.1686494', expected '2.1686493', error '0.0000001'

Test #50:

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

input:

561565987119909623 68

output:

1.81875029

result:

ok found '1.8187503', expected '1.8187500', error '0.0000002'

Test #51:

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

input:

166464870954228340 74

output:

1.70810515

result:

ok found '1.7081051', expected '1.7081047', error '0.0000003'

Test #52:

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

input:

272324690824608515 48

output:

2.30842191

result:

ok found '2.3084219', expected '2.3084215', error '0.0000002'

Test #53:

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

input:

81007997093592161 28

output:

4.01887744

result:

ok found '4.0188774', expected '4.0188771', error '0.0000001'

Test #54:

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

input:

273150934002691939 102

output:

1.50000090

result:

ok found '1.5000009', expected '1.5000000', error '0.0000006'

Test #55:

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

input:

1000000000000000000 101

output:

1.50019521

result:

ok found '1.5001952', expected '1.5001951', error '0.0000001'