Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
y=185968;
x=round(26740*561311/56151);
assert(isequal(decyp(x),y))
y=149847952984408;
x=20710655*13335135;
assert(isequal(decyp(x),y))
y=531355+940517;
x=1538545+1254151;
assert(isequal(decyp(x),y))
x=round(log(152385*15275445))*2511;
y=36455;
assert(isequal(decyp(x),y))
x=round(sqrt(158485*1555)/211);
y=37;
assert(isequal(decyp(x),y))
filetext = fileread('decyp.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')
|
Back to basics 11 - Max Integer
678 Solvers
"Low : High - Low : High - Turn around " -- Create a subindices vector
320 Solvers
111 Solvers
Try 1.5.4: Celsius to Fahrenheit
609 Solvers
192 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!