You are viewing a single comment's thread. Return to all comments →
One liner using C#.
foreach (char ch in Console.ReadLine()) Console.Write((ch - 47) % 10);
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Security - Message Space and Ciphertext Space
You are viewing a single comment's thread. Return to all comments →
One liner using C#.
foreach (char ch in Console.ReadLine()) Console.Write((ch - 47) % 10);