0
\$\begingroup\$

This question already has an answer here:

Well the title says it all.

  • Standard loopholes apply
  • Nothing to read from stdin, and output goes to stdout
  • 1-byte-long programs are... nonsense. They don't qualify
  • A program with a single byte repeated is also a nonsense (like aaa)
  • Please mark it out if your program is a palindrome

Sample:

A program with source code

abcde

should output

edcba

Because this is a , the shortest program wins!

\$\endgroup\$

marked as duplicate by Adnan code-golf Aug 12 '17 at 11:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • \$\begingroup\$ Is reading the contents of the file allowed, or is that off limits for this challenge? \$\endgroup\$ – Arnold Palmer Aug 12 '17 at 11:27
0
\$\begingroup\$

RProgN 2, 3 bytes

1
0

Try it online!

Pretty sure this has been submitted before, but here's one in RProgN 2.

It outputs

0
1
\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged or ask your own question.