Problems with problem 116

Back to Problem Solutions forum

vip_gevorg     2014-08-18 12:16:21

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 :(

Rodion (admin)     2014-08-18 12:24:46
User avatar

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.)

vip_gevorg     2014-08-18 13:11:18

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.

Ashish Padalkar     2015-01-12 15:04:05
User avatar

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 **

Rodion (admin)     2015-01-12 15:45:24
User avatar

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).

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