Cody

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

Solution 3714478

Submitted on 18 Nov 2020 by William
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
filetext = fileread('hash.m'); assert(isempty(strfind(filetext, 'regexp')),'regexp hacks are forbidden') assert(isempty(strfind(filetext, 'if')),'if is forbidden') assert(isempty(strfind(filetext, 'while')),'while is forbidden') x=round(log(5615511)*round(exp(11))); y=sum(1:30:2015)-5166+795054-26516-36726; assert(isequal(decyp(x),y)) y=85020018; x=round(log(561515511*455)*round(207155480/515)); assert(isequal(decyp(x),y)) y=(561251+5161516-613879113+6516--56165151+7320735+11927516-sum(1:30:200515)+102239738-204479476)*(-1)-1305007380; x=round(log(15385+1254*455)*round(2071+65/156)); assert(isequal(ceil(decyp(x)),ceil(y))) x=round(log(15385+1527854*455)*round(152785471+65/156)); y=9885220430; assert(isequal(decyp(x),y))

### Community Treasure Hunt

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

Start Hunting!