ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1236. Decoding Task

My eye is still twitches! I got WA #5! code here
Posted by Alexander Prudaev 3 Oct 2006 20:05
how it is possible? program work on 1-st,2nd,
3th and 4th tests, but on test #5 it gives WA?!

plase help me!
my program:

[code deleted by autor.]

Edited by author 04.10.2006 09:59
Re: My eye is still twitches! I got WA #5! code here
Posted by AlexF [USTU] 3 Oct 2006 20:48
Try this
32
0AC9
Your answer: 0A and two spaces
Right answer: 0AC9

And this
AA
AAAA
Your answer has only spaces, and the real answer is 8A8A!)
Good Luck!

Edited by author 03.10.2006 20:49
Re: My eye is still twitches! I got WA #5! code here
Posted by Alexander Prudaev 4 Oct 2006 09:58
AlexF [USTU] wrote 3 October 2006 20:48
Try this
32
0AC9
Your answer: 0A and two spaces
Right answer: 0AC9
Right answer: 2AD1.
However, thank you. I found my mistake.
t must be unsigned char.
There is Access violation if t - char.