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
828 - Deciphering Messages
Moderator: Board moderators
-
- Guru
- Posts: 724
- Joined: Wed Dec 19, 2001 2:00 am
- Location: Germany
actually
it says
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 ?the number of messages that are to be deciphered in the third line, and a ciphered text message in each of the remaining lines
-
- Guru
- Posts: 724
- Joined: Wed Dec 19, 2001 2:00 am
- Location: Germany
-
- Guru
- Posts: 834
- Joined: Wed May 29, 2002 4:11 pm
- Location: Wroclaw, Poland
- Contact:
I have the same problem as yatsen - I got WA. Maybe someone want to help me ? Some IO would be great ...
Best regards
DM
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)
Born from ashes - restarting counter of problems (800+ solved problems)
828 - Deciphering Messages
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]
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]
Re: 828 - Deciphering Messages
Here are some sample inputs:
For the inputs it should generate the following outputs:
An additional hint: after every input cases there should be a blank line, except for the last one, I did not wrote a blank line, and got accepted.
Code: Select all
3
RSAEIO
2
5
RTSSKAEAGE
GRSCAV
RGSSCAV
RUSIQO
RUSSGAACEV JEGIITOOGR
TFVQRNA
4
3
HSK LSYWI
QTEFCSFRVIWI
TEFPMKFEVVXQSQVR
GBIWET
3
2
VDPSOGHB BWIIHWAWWE
GHBPDBLIO
Code: Select all
RICE
error in encryption
EAT
error in encryption
SEAT HERE
DOG HOUSE
MAYONESE
ALIGATOR
SAMPLE TEXT
EMAIL