decipher the number 1 - same key for all digits :) - MATLAB Cody - MATLAB Central

Problem 47548. decipher the number 1 - same key for all digits :)

Difficulty:Rate
You will be given a input number (eg) x=12345
you have to figure out the dechiper key and match it with given input and decipher it
eg x=12345
ref=[0 1 2 3 4 5 6 7 8 9 ]; decipher_key=[ 1 2 3 4 5 6 7 8 9 0]
output y=23456
"If" and "while" are forbidden

Solution Stats

28.0% Correct | 72.0% Incorrect
Last Solution submitted on Nov 19, 2024

Problem Comments

Solution Comments

Show comments

Group

Number theory Image
Number theory
  • 44 Problems
  • 21 Finishers

Problem Recent Solvers25

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page