Skip to content

Latest commit

 

History

History

040

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Champernowne's constant

An irrational decimal fraction is created by concatenating the positive integers:

0.123456789101112131415161718192021...

It can be seen that the 12th digit of the fractional part is 1.

If dn represents the nth digit of the fractional part, find the value of the following expression.

d1 × d10 × d100 × d1000 × d10000 × d100000 × d1000000

Performance

Try it online!

Real time: 0.978 s
User time: 0.721 s
Sys. time: 0.226 s
CPU share: 96.82 %
Exit code: 0