Discussion Room : IDC101

Decode my message

Decode my message

द्वारा Mayukh Chakrabarty -
उत्तरों की संख्याः 3

To make life easier, my encoder coverts all common punctuation symbols to a single symbol. I will provide an example to check out your logic. Upload a decoder program for my encoder. Let's have fun.

Example : 

Input: The brown pig

Output: 7.68.93.@140.264.287.392.360.@462.420.429.

You are to decode the following message:

4.68.123.124.240.186.308.@270.310.319.492.390.434.675.@782.612.665.900.@726.713.1104.1125.@729.@1334.1320.961.864.1518.@1120.1584.1517.1482.@1560.1271.@
Mayukh Chakrabarty के जवाब में

Re: Decode my message

द्वारा Vineet Gaurav . -

The formula for encoding the message is :-

26*(the position of the letter in the message including @ sign)+(the position of the letter in the message including @ sign)*(the position of letter in the alphabet)

The only change is for the first letter of the message and for decoding it just count the position of the letter in backward form in the alphabet system.


The message is:

Whoever decodes this gets a treat from me

Vineet Gaurav . के जवाब में

Re: Decode my message

द्वारा Mayukh Chakrabarty -