Created
September 6, 2015 15:28
-
-
Save xdbr/64dda273e7490d142acc to your computer and use it in GitHub Desktop.
how many coins to i need?
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
perl -E'!+0,$ ,=$",$:+=+shift,=>map{$:-=$_=>push@,=>$_>=!$!?~~qq,$_€,:($_*100.).q.¢.while$:-$_>=$!}2,1,.5,.2,.1,.05,.01;say+0||@,' 1.23 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment