Skip to main content
added 34 characters in body
Source Link
ouflak
  • 2.1k
  • 2
  • 18
  • 28

Turing Machine Code, 19 2929 19 bytes

0 0 0 * 2 * 1 1 r 1h 10 _* 1 r 10 

Try it online!Try it online!

Saved 10 bytes thanks to @Laikoni

Turing Machine Code, 19 29 bytes

0 0 0 * 2 * 1 1 r 1 1 _ 1 r 1 

Try it online!

Turing Machine Code, 19 29 19 bytes

0 0 * * h 0 * 1 r 0 

Try it online!

Saved 10 bytes thanks to @Laikoni

Specifically placing the '1' on the next part of the line instead of just overwriting.
Source Link
ouflak
  • 2.1k
  • 2
  • 18
  • 28

Turing Machine Code, 1919 29 bytes

0 0 0 * 12 * 1 1 *r *1 1 _ 1 r 1 

Try it online!Try it online!

Turing Machine Code, 19 bytes

0 0 0 * 1 * 1 1 * * 

Try it online!

Turing Machine Code, 19 29 bytes

0 0 0 * 2 * 1 1 r 1 1 _ 1 r 1 

Try it online!

Source Link
ouflak
  • 2.1k
  • 2
  • 18
  • 28

Turing Machine Code, 19 bytes

0 0 0 * 1 * 1 1 * * 

Try it online!