MB2 - Reverse text
Your task is to write a program in Brainfuck which will read a line of text and print it in reverse order.
Input
First and the only line of input contains text which will not be longer than 200 characters. At the end of an input there is new line character (ASCII: 10).
Output
Print all characters of the input in reverse order.
Score
Score equals to size (in bytes) of source code of your program. The fewer points you score, the better.
Example
Input: Reverse this line! Output: !enil siht esreveR
hide comments
(Tjandra Satria Gunawan)(曾毅昆):
2013-04-13 16:12:38
easy 12B |
|
:D:
2012-05-11 11:20:25
Another solution is to move it classical and instead of challenge set the source limit to 13B or even 12B. |
|
:D:
2012-05-11 06:59:06
Problem is very simple and it's easy to get the 12 char solution (as the proven by the score board). It's really unfair to give 3pt for such an easy task. Moved to tutorial. |
|
Matthieu Riolo:
2011-11-19 23:34:43
there is a really annoying failure in the current version of bff
|
|
Carlos Joa:
2011-07-11 05:28:23
Is anyone else receiving a strange runtime error in their submissions?
|
|
Jared Deckard:
2011-06-28 20:27:56
I thought I would never get rid of that 13th char. I was tempted to bruteforce the source, only 8^12 :P |
|
~:
2011-06-21 19:13:39
hey what happen to judge............plzz check the judge every solution is giving 0 score and its best solution too......plzz edit judge |
Added by: | Maciej Boniecki |
Date: | 2010-09-08 |
Time limit: | 1s |
Source limit: | 100B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | BF |