Problem 48270. Decipher the message - same key for all digits
You will be given a input number (eg) x='gdkkn'
you have to figure out the dechiper key and match it with given input and decipher it
ref=ascii(32:126); decipher_key=[ascii(33:126) ascii(32) ]
output y='hello'
"If" and "while" are forbidden
Solution Stats
Problem Comments
-
1 Comment
Rafael S.T. Vieira
on 19 Nov 2022
Hard work is only useful for your boss. :)
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2491 Solvers
-
505 Solvers
-
Matrix indexing with two vectors of indices
730 Solvers
-
Count consecutive 0's in between values of 1
448 Solvers
-
Combined Ages 1 - Symmetric, n = 3
263 Solvers
More from this Author33
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!