Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Binary-digits/Quackery/binary-digits-1.quackery
Normal file
9
Task/Binary-digits/Quackery/binary-digits-1.quackery
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
2 base put ( Numbers will be output in base 2 now. )
|
||||
( Bases from 2 to 36 (inclusive) are supported. )
|
||||
|
||||
5 echo cr
|
||||
50 echo cr
|
||||
9000 echo cr
|
||||
|
||||
base release ( It's best to clean up after ourselves. )
|
||||
( Numbers will be output in base 10 now. )
|
||||
9
Task/Binary-digits/Quackery/binary-digits-2.quackery
Normal file
9
Task/Binary-digits/Quackery/binary-digits-2.quackery
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[ [] swap
|
||||
[ 2 /mod digit
|
||||
swap dip join
|
||||
dup not until ]
|
||||
drop reverse ] is bin ( n --> $ )
|
||||
|
||||
5 bin echo$ cr
|
||||
50 bin echo$ cr
|
||||
9000 bin echo$ cr
|
||||
Loading…
Add table
Add a link
Reference in a new issue