Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assessFunctionAbsence({'regexp','regexpi','regexprep','str2num'},'FileName','mtimes.m')
|
2 | Pass |
assert(isequal("cody" * 5, "codycodycodycodycody"))
|
3 | Pass |
assert(isequal("cody" * 5, "cody" * 2 + "cody" * 3))
|
4 | Pass |
assert(isequal(" Cody is fun! Cody is fun! Cody is fun!", 3 * " Cody is fun!"))
|
5 | Pass |
assert(isequal(" Cody 5-Year Anniversary! Cody 5-Year Anniversary!", " Cody 5-Year Anniversary!" * 2))
|
6 | Pass |
x = ["Cody";"matlab";"Simulink";"@Mathworks"] + (5:5:randi([1000,5000]));
assert(isequal(x*2,x+x))
assert(isequal(x*3,x+x+x))
assert(isequal(5*x,x+x+x+x+x))
assert(isequal(101*x,x+100*x))
|
Project Euler: Problem 3, Largest prime factor
379 Solvers
Find the largest value in the 3D matrix
1056 Solvers
253 Solvers
226 Solvers
344 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!