Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
filetext = fileread('time_for_five.m');
assert(isempty(strfind(filetext, 'fopen')));
assert(isempty(strfind(filetext, 'assert')));
|
2 | Pass |
y = time_for_five(5);
a=clock;
if mod(floor(a(6)),5)==0
y_correct= y
else
y_correct = NaN;
end
assert(isequal(y,y_correct))
y_correct =
2017 10 19 17 18 0
|
Find the alphabetic word product
2321 Solvers
951 Solvers
1900 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1018 Solvers
How long is the longest prime diagonal?
338 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!