szeyiuchau's blog

By szeyiuchau, 13 years ago, In English

Hi all,


I was trying to solve the problem 130D - Exponentiation with the lovely Befunge language. I managed to write a piece of code and submitted it. Unfortunately the judge returned a "Wrong Answer on test 7" verdict.

I was then looking at the test-cases and I found this:

7
Time: 170 ms, memory: 3988 KB
Verdict: WRONG_ANSWER
Input
98
94
44
Output
12 
Answer
12
Checker comment
wrong answer 1st numbers differ - expected: '12', found: '0'

If I am not mistaken, my program gave '12' as output but the checker somehow did not recognize it (found: '0')? 
I have also tested this case on my computer and it prints out '12'. I would like to ask if this is due to a problem of the checker (not likely?) 
Or did I misunderstood/overlooked something?

Those who have experiences on this problem and/or Befunge, please come and help.
Thanks in advance for answering my questions.

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it