Problem 58309. Decode a message encrypted with the square root of 2
Cody Problem 58299 asks you to encrypt a message by changing all letters to uppercase and randomly choosing a position of the ASCII codes of the message’s characters in the fractional part of the square root of 2.
Write a function to decrypt a message encrypted in this way. A string with the fractional part of the square root of 2 will be set as a global variable.
Solution Stats
Problem Comments
-
1 Comment
Nikolaos Nikolaou
on 23 Mar 2024
I get 99% of the values right expect the loc of digit '4'
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
2978 Solvers
-
Number of odd and even elements within matrix
149 Solvers
-
ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
541 Solvers
-
157 Solvers
-
Find the area of a rectangle if length of the diagonal is given.
162 Solvers
More from this Author275
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!