Submit | All submissions | Best solutions | Back to list |
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
Added by: | Maciej Boniecki |
Date: | 2010-09-08 |
Time limit: | 1s |
Source limit: | 100B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | BF |
hide comments
|
|||||
2013-04-13 16:12:38 (Tjandra Satria Gunawan)(曾毅昆)
easy 12B |
|||||
2012-05-11 11:20:25 :D
Another solution is to move it classical and instead of challenge set the source limit to 13B or even 12B. |
|||||
2012-05-11 06:59:06 :D
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. |
|||||
2011-11-19 23:34:43 Matthieu Riolo
there is a really annoying failure in the current version of bff http://www.spoj.pl/forum/viewtopic.php?f=5&t=8656 PS: The BFF is not returning -1 on EOF Last edit: 2011-11-19 23:35:29 |
|||||
2011-07-11 05:28:23 Carlos Joa
Is anyone else receiving a strange runtime error in their submissions? In ideone, I pasted my solution and it is crashing with "bff: out of memory (900097288)" error. Even a simple read-until-EOF loop is crashing with the same error message. |
|||||
2011-06-28 20:27:56 Jared Deckard
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 |