\$\begingroup\$
\$\endgroup\$
1
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
abcdeshould output
edcba
Because this is a code-golf, the shortest program wins!
-
\$\begingroup\$ Is reading the contents of the file allowed, or is that off limits for this challenge? \$\endgroup\$Arnold Palmer– Arnold Palmer2017年08月12日 11:27:56 +00:00Commented Aug 12, 2017 at 11:27
1 Answer 1
\$\begingroup\$
\$\endgroup\$
RProgN 2, 3 bytes
1
0
Pretty sure this has been submitted before, but here's one in RProgN 2.
It outputs
0
1
answered Aug 12, 2017 at 11:26
Arnold Palmer
6033 silver badges8 bronze badges