QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#449481#968. Extreme WealthanoianoicccAC ✓2801ms10852kbPython3606b2024-06-21 12:02:492024-06-21 12:02:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 8ms
memory: 10796kb

input:

3 2

output:

3.2000000000000

result:

ok OK 3.20000000, real ans = 3.20000000, error = 0.00000000

Test #2:

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

input:

0 29

output:

536870912.0000003576279

result:

ok OK 536870912.00000036, real ans = 536870912.00000000, error = 0.00000000

Test #3:

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

input:

30 0

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1073741824.00000000

Test #4:

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

input:

37 73

output:

5028.4888595830726

result:

ok OK 5028.48885958, real ans = 5028.48885958, error = 0.00000000

Test #5:

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

input:

10000000000 10000000000

output:

177245.3850902341364

result:

ok OK 177245.38509023, real ans = 177245.38509055, error = 0.00000000

Test #6:

score: 0
Accepted
time: 122ms
memory: 10680kb

input:

10000000000 9999412550

output:

989753719.1305882930756

result:

ok OK 989753719.13058829, real ans = 989753719.13242424, error = 0.00000000

Test #7:

score: 0
Accepted
time: 123ms
memory: 10800kb

input:

10000000000 9999412400

output:

994124819.3415728807449

result:

ok OK 994124819.34157288, real ans = 994124819.34340525, error = 0.00000000

Test #8:

score: 0
Accepted
time: 122ms
memory: 10800kb

input:

10000000000 9999412200

output:

999984746.7402122020721

result:

ok OK 999984746.74021220, real ans = 999984746.74201429, error = 0.00000000

Test #9:

score: 0
Accepted
time: 128ms
memory: 10848kb

input:

10000000000 9999412199

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1000014138.02130949

Test #10:

score: 0
Accepted
time: 115ms
memory: 10748kb

input:

10000000000 9999411862

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1009971237.25187039

Test #11:

score: 0
Accepted
time: 124ms
memory: 10736kb

input:

10000000000 9999411861

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1010000939.12199187

Test #12:

score: 0
Accepted
time: 19ms
memory: 10732kb

input:

1000000000 100000000

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 2000288524.07298231

Test #13:

score: 0
Accepted
time: 32ms
memory: 10796kb

input:

999900000 999999999

output:

682861.8615960839670

result:

ok OK 682861.86159608, real ans = 682861.86152047, error = 0.00000000

Test #14:

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

input:

100000 100500

output:

1046.8242075106502

result:

ok OK 1046.82420751, real ans = 1046.82420753, error = 0.00000000

Test #15:

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

input:

1000000000000 1000000000000

output:

1772453.8508804074954

result:

ok OK 1772453.85088041, real ans = 1772453.85090552, error = 0.00000000

Test #16:

score: 0
Accepted
time: 911ms
memory: 10720kb

input:

1000000000000 999995000000

output:

918167024.4823409318924

result:

ok OK 918167024.48234093, real ans = 918167024.49532175, error = 0.00000000

Test #17:

score: 0
Accepted
time: 937ms
memory: 10684kb

input:

1000000000000 999994970000

output:

989900658.7464177608490

result:

ok OK 989900658.74641776, real ans = 989900658.76037264, error = 0.00000000

Test #18:

score: 0
Accepted
time: 945ms
memory: 10844kb

input:

1000000000000 999994969900

output:

990149653.4617449045181

result:

ok OK 990149653.46174490, real ans = 990149653.47589362, error = 0.00000000

Test #19:

score: 0
Accepted
time: 881ms
memory: 10740kb

input:

1000000000000 999994965966

output:

999998929.9969484806061

result:

ok OK 999998929.99694848, real ans = 999998930.01106715, error = 0.00000000

Test #20:

score: 0
Accepted
time: 929ms
memory: 10744kb

input:

1000000000000 999994965965

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1000001447.03807712

Test #21:

score: 0
Accepted
time: 995ms
memory: 10748kb

input:

1000000000000 999994962200

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1009526689.33672678

Test #22:

score: 0
Accepted
time: 925ms
memory: 10848kb

input:

1000000000000 999994962000

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1010035408.79225361

Test #23:

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

input:

10000000000000 10000000000000

output:

5604991.2163178976625

result:

ok OK 5604991.21631790, real ans = 5604991.21639793, error = 0.00000000

Test #24:

score: 0
Accepted
time: 2650ms
memory: 10852kb

input:

10000000000000 9999985614000

output:

989882007.1853519678116

result:

ok OK 989882007.18535197, real ans = 989882007.19958651, error = 0.00000000

Test #25:

score: 0
Accepted
time: 2715ms
memory: 10664kb

input:

10000000000000 9999985613835

output:

989999498.6048680543900

result:

ok OK 989999498.60486805, real ans = 989999498.61902094, error = 0.00000000

Test #26:

score: 0
Accepted
time: 2801ms
memory: 10656kb

input:

10000000000000 9999985613834

output:

990000210.7206846475601

result:

ok OK 990000210.72068465, real ans = 990000210.73484683, error = 0.00000000

Test #27:

score: 0
Accepted
time: 2653ms
memory: 10724kb

input:

10000000000000 9999985599900

output:

999977583.4844821691513

result:

ok OK 999977583.48448217, real ans = 999977583.49870884, error = 0.00000000

Test #28:

score: 0
Accepted
time: 2659ms
memory: 10848kb

input:

10000000000000 9999985586056

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1009999801.48704243

Test #29:

score: 0
Accepted
time: 2584ms
memory: 10720kb

input:

10000000000000 9999985586055

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1010000529.39213884

Test #30:

score: 0
Accepted
time: 2517ms
memory: 10736kb

input:

10000000000000 9999985486055

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 1085749634.67051625

Test #31:

score: 0
Accepted
time: 2561ms
memory: 10748kb

input:

10000000000000 9999905586055

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 2000000758.78793645

Test #32:

score: 0
Accepted
time: 944ms
memory: 10688kb

input:

10000000000000 1000000000000

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 2000003461.21803880

Test #33:

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

input:

0 0

output:

1.0000000000000

result:

ok OK 1.00000000, real ans = 1.00000000, error = 0.00000000

Test #34:

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

input:

0 1

output:

2.0000000000000

result:

ok OK 2.00000000, real ans = 2.00000000, error = 0.00000000

Test #35:

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

input:

1 1

output:

2.0000000000000

result:

ok OK 2.00000000, real ans = 2.00000000, error = 0.00000000

Test #36:

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

input:

0 2

output:

4.0000000000000

result:

ok OK 4.00000000, real ans = 4.00000000, error = 0.00000000

Test #37:

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

input:

1 2

output:

2.6666666666667

result:

ok OK 2.66666667, real ans = 2.66666667, error = 0.00000000

Test #38:

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

input:

2 2

output:

2.6666666666667

result:

ok OK 2.66666667, real ans = 2.66666667, error = 0.00000000

Test #39:

score: 0
Accepted
time: 15ms
memory: 10804kb

input:

10000000000000 0

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 2147483648.00000000

Test #40:

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

input:

10000000000000 1

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 3714566310.05405521

Test #41:

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

input:

2 10000000000000

output:

Extreme Wealth

result:

ok OK Extreme Wealth, real ans = 2681735677.50243759