Last active
August 29, 2020 17:14
-
-
Save ver-1000000/fe56396711c8fc49ebff to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(1..1000000).reduce { |a, e| a = "#{a * e}".sub(/\d*?(\d{0,9})0*$/, '\1').to_i } |
えっこのgistなに……????? どういう意味……???
久しぶりに見に来たけどこのgistやっぱり何www
実行すると584125440を返すんだけど謎
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1000000のとこはgets.to_iね♡