Tricky Printing - Brainfuck problem

Back to Problem Solutions forum

hogarth45     2015-01-17 15:27:49
User avatar

I was tasked with printing 27

++++ #>$[-<+++++>]< +++:

But it tells me this is wrong, as it does not print 27, but it does. I'm so lost.

nicolas_patrois     2015-01-17 16:47:09
User avatar

Are you sure that the stack operations are allowed?

Rodion (admin)     2015-01-17 17:47:11
User avatar

I think I should improve interpreter to yield warnings when $ or # are encountered while stack extension is switched off. This should help in avoiding bewilderment in problems where it is not enabled...

Sorry for this inconvenience!

Please login and solve 5 problems to be able to post at forum