Vida de un Programador

Experiencias, ideas y programas

Challenge 18: SOP (Sheep Oriented Programming)


Para este reto simplemente hay que estar en el mundillo de lo raro xD.
Si conoces Ook!, un lenguaje esotérico (que proviene de Brainfuck, otro mas), te darás cuenta enseguida de que es muy similar a lo que aparece en el reto, excepto que en vez de “Ook” pone “Bee”.

Este es el programa original:

Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? 
Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee? Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! 
Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. 
Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee? Bee. Bee. 
Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee? Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! 
Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee! Bee. Bee! Bee! 
Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee! Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. 
Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee. Bee! Bee! 
Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! 
Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. 
Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! 
Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee? 
Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee? 
Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! Bee! Bee. Bee! Bee! 
Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee? 
Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee? Bee. Bee. 
Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee? Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! 
Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee. Bee. Bee! Bee. Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee. Bee. Bee! Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? 
Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee? Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! 
Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. 
Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee. Bee? Bee. Bee. Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. 
Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee? Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. Bee. Bee? Bee. Bee. 
Bee! Bee? Bee! Bee! Bee? Bee! Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee! Bee. Bee? Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee! Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. Bee. 
Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee. 
Bee. Bee. Bee. Bee. Bee! Bee. Bee! Bee! Bee! Bee. Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee! 
Bee! Bee! Bee! Bee! Bee! Bee! Bee! Bee.

Y aquí el convertido a Brainfuck, que creo que se ve mejor:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++.+++++++++++++++++++++++++++++++++++++.++.+++++.-.>+[-]
++++++++++++++++++++++++++++++++.<-----------.++++++++++.>+[-]++
++++++++++++++++++++++++++++++.<+.------------.---.>+[-]++++++++
++++++++++++++++++++++++.<+++++++++.+++++++.--------.-----------
.+++.+++++++++++++.>+[-]++++++++++++++++++++++++++++++++.<---.--
-------.>+[-]++++++++++++++++++++++++++++++++.<+++++++++++++.+.-
-.-----------------.++++++++.--.+.++++++++++++.>+[-]++++++++++++
++++++++++++++++++++.<-----------------.++++++++++++++++++.-.-.>
+[-]++++++++++++++++++++++++++++++++.<------.------------.+++.+.
>+[-]++++++++++++++++++++++++++++++++.<+++++++++++++++.---------
---.++++++++++.---.++++++.--------------.+.>+[-]++++++++++++++++
++++++++++++++++.<-------.>+[-]++++++++++++++++++++++++++++++++.
<+++++++++++++++++.---.++++++.-------.----------.>+[-]++++++++++
++++++++++++++++++++++.<-.+++++.+++++++.------------.+++++++++++
+.---.-----------.+++++++++++++++++++.---------------.>+[-]+++++
+++++++++++++++++++++++++++.<--.--.++++++++++.------.>+[-]++++++
++++++++++++++++++++++++++.<----.+++++++++++++.----------.>+[-]+
+++++++++++++++++++++++++++++++.<+++++++++++.++++++.-.----.+++++
.-.>+[-]++++++++++++++++++++++++++++++++.<-----------.++++++++++
.>+[-]++++++++++++++++++++++++++++++++.<+.------------.---.>+[-]
++++++++++++++++++++++++++++++++.<++++++++.------------.++++++++
+++++++++++++++.---------------.++++.++++++++.--------.>+[-]++++
++++++++++++++++++++++++++++.<+.+++++++.--------.-----------.+++
.+++++++++++++.>+[-]++++++++++++++++++++++++++++++++.<---.------
---.>+[-]++++++++++++++++++++++++++++++++.<---.--.++++++++++.---
---.>+[-]++++++++++++++++++++++++++++++++.<+++++++++++.-------.-
---.--.++.++++++++++++++.>+[-]++++++++++++++++++++++++++++++++.<
+.------------.-------.+++++++++++++++++++.>+[-]++++++++++++++++
++++++++++++++++.<-----------------.--.+++++++++++++.>+[-]++++++
++++++++++++++++++++++++++.<------------.+++.>+[-]++++++++++++++
++++++++++++++++++.<+++++++++++.++.---.-----------.+++++++++++++
++++.------------------.++.-.-----------------------------------
-------------------.

El programa lo que hace es ir obteniendo el valor de los caracteres ASCII, y los va mostrando

Yo cree mi propio interprete para Ook!, Bee y Brainfuck en PHP (que podeis encontrar en github) [creía que había que computar algo con el programa].
Entonces, este programa me devolvió esta salida:

Input is the number of straight cuts made through a round chocolate cake and out
put is the maximum number of cake pieces that can be produced.

Entonces me reí un rato xD. Aunque me había costado muy poco tiempo programar el intérprete, lo veía como un gasto de tiempo. Pero bueno, ya me servirá algún día😀

Bueno, entonces hay que devolver el máximo numero de trozos en los que se puede cortar una tarta con N cortes, la entrada.

Como siempre prefiero ahorrarme trabajo (cosa que no parece con el intérprete), busque en San Google y encontre una formulita maravillosa:

cortes = 0.5 * N^2 + 0.5 * N + 1

El 1 es la tarta inicial (la tarta misma es un trozo!), y luego los trozos van aumentando bastante mas rápido, ya que la idea es colocar los trozos de tarta en filas para así aumentar el numero de cortes.

Con esto el problema estaba solucionado, me pareció bastante simple (conocía ya Ook! xD), y pude pasar al 19

Una respuesta a “Challenge 18: SOP (Sheep Oriented Programming)

  1. AlberTajuelo (@AlberTajuelo) 13/05/2012 en 08:25

    Cuando lo ví dije se parece mucho al Ook! Que cuando comencé a programar vi este lenguaje de programación y la verdad que era bastante gracioso!

    Un saludo!

Responder

Por favor, inicia sesión con uno de estos métodos para publicar tu comentario:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: