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

Loky_Yuri [USTU] I dont' understand [2] // Problem 1236. Decoding Task 8 Mar 2007 13:25
In the task said "The first line consists of 2N characters and represents the encoded message N bytes long".
But I understood that if we encode the message length of n, we will receive message the same length (n). Whats wrong?
KIRILL(ArcSTU) Re: I dont' understand [1] // Problem 1236. Decoding Task 8 Mar 2007 13:53
Each byte can be presented as 2 characters in a hexadecimal form

0 - 00
1 - 01
..
16 - 10
..
255 - FF

so n bytes = 2*n characters
Loky_Yuri [USTU] Re: I dont' understand // Problem 1236. Decoding Task 8 Mar 2007 13:59
Thank you! Now I'll try to solve it!