Problem 47970. Cipher or decipher the number according to the second input - 10 keys
Solution Stats
Problem Comments
-
2 Comments
There are several bugs in the testsuite:
1) You cannot call cyp((x,y)) with double parantheses (occures twice)
2) for x='97256528638204' the string is too short. Likely there is a leading zero missing.
A few of the errors have been fixed, but this problem is too cryptic (or erroneous) for me to understand it, so I can't completely fix it. @Sibi, please fix the problem. I would highly recommend providing your own reference solution on the Edit page to ensure that it is working properly.
Problem Recent Solvers4
Suggested Problems
-
Back to basics 4 - Search Path
340 Solvers
-
Back to basics 22 - Rotate a matrix
825 Solvers
-
Longest run of consecutive numbers
3452 Solvers
-
Extract Built In Functions and Toolbox Functions from String or Function Handle
59 Solvers
-
39 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!