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 1404. Easy to Hack!

test for wrong #14
Posted by Bahodir | TUIT | 20 Jan 2015 18:11
test for wrong #14:
input
a
h
output
v
c
Re: test for wrong #14
Posted by Nokard 18 Mar 2018 02:49
Hm. Let's try to encrypt this output:

v -> 21 +  5 = 26 mod 26 = 0 -> a;
c -> 2  + 26 = 28 mod 26 = 2 -> c;

So, the correct input must be "ac".


P.S. "ah" decodes to "vh".

Edited by author 18.03.2018 02:50