828 - Deciphering Messages

All about problems in Volume VII. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

828 - Deciphering Messages

Postby tomy » Thu Jun 20, 2002 6:09 pm

The sample input for problem 828 is broken. It should either be

1

RSAEIO
2
5
RTSSKAEAGE
GRSCAV
RGSSCAV
RUSIQO
RUSSGAACEV JEGIITOOGR

or

1

RSAEIO
2
6
RTSSKAEAGE
GRSCAV
RGSSCAV
RUSIQO
RUSSGAACEV
JEGIITOOGR
tomy
New poster
 
Posts: 2
Joined: Thu Jun 20, 2002 5:53 pm

Postby Adrian Kuegel » Thu Jun 20, 2002 8:42 pm

You are right, sample input is wrong and it should be like in your first case, but the input for the problem is correct, I solved the problem.
Adrian Kuegel
Guru
 
Posts: 724
Joined: Wed Dec 19, 2001 2:00 am
Location: Germany

actually

Postby Caesum » Thu Jun 20, 2002 8:46 pm

it says
the number of messages that are to be deciphered in the third line, and a ciphered text message in each of the remaining lines


which to me means that there might be 5 to decipher but there could be 6 following and they only want 5 of them deciphering ?
Caesum
Experienced poster
 
Posts: 225
Joined: Fri May 03, 2002 12:14 am
Location: UK

Postby Adrian Kuegel » Thu Jun 20, 2002 8:57 pm

You are right, the description is not very clear in that point, but the number is exactly the number of following messages (my program would have entered a while(1) loop if there would have been more following messages). And there is no blank line as message.
Adrian Kuegel
Guru
 
Posts: 724
Joined: Wed Dec 19, 2001 2:00 am
Location: Germany

Postby yatsen » Wed May 28, 2003 7:26 am

I got WA many times for this problem.
Can anyone put some sample input and output?
yatsen
Learning poster
 
Posts: 67
Joined: Fri Nov 23, 2001 2:00 am
Location: taiwan

Postby Dominik Michniewski » Thu Sep 18, 2003 12:52 pm

I have the same problem as yatsen - I got WA. Maybe someone want to help me ? Some IO would be great ...

Best regards
DM
If you really want to get Accepted, try to think about possible, and after that - about impossible ... and you'll get, what you want ....
Born from ashes - restarting counter of problems (800+ solved problems)
Dominik Michniewski
Guru
 
Posts: 828
Joined: Wed May 29, 2002 4:11 pm
Location: Wroclaw, Poland

828 - Deciphering Messages

Postby mani » Wed Nov 03, 2004 6:45 pm

Hello!
i tried so much, i make the encryption but didn't been able to find out what are the condiitons on which 'error in encryption' message shows.... can any one help me out, i shall be very thankful to that person.[/cpp]
mani
New poster
 
Posts: 1
Joined: Wed Nov 03, 2004 6:23 pm


Return to Volume VIII

Who is online

Users browsing this forum: No registered users and 0 guests