Back to Problem Solutions forum
About Summing Up problem.
Hello to everyone. I am a newbie in BF and I am trying to solve my first BF problem. My program output is actually correct but I always get following verdicts: "Your answer is Wrong. Code does not return * as output" (though it does!). On the one hand I need some help, on the other hand I may not publish my code here. So I don't know what to do :(
Well... I'll try to check your code in a moment and tell whether anything could be fixed.
UPD: have you noticed that you use comments in your BF program, but some of them (like (A+B)
) have symbols
recognized as BF commands inside?
Probably they spoil your solution. Try to remove them or substitute somehow (for example +
with word plus
etc.)
Oh, thank you very much! I have forgotten about this '+' between 'A' and 'B' :) Now everything is fine! I will be more attentive in my further attempts.
Same here i am also recieving the same error " Code does not return XX as output " Please check my problem also I have removed all the comments as stated above
The problem shows the expected answer when i click on generate but doesnot accept it
**So please check my sollution **
Ashish, Hi!
I'm afraid the problem is that for this problem "stack operations" ($
and #
) are disabled. (with them it
will be too simple).
Thanks for your message - I will specify in problem statement that they are disabled since it keeps on bewildering users (especially while "on-site" brainfuck runner still executes these operations - it does not respect task limitations currently).