Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
% 16 Jan-2013
% I now test Inf since the aim is to submit a problem between 7 and 9 AM sorry guys!
% Moreover some comments give the solution which is not fair
filetext = fileread('your_fcn_name.m')
assert(isempty(strfind(filetext, 'Inf')))
filetext = fileread('your_fcn_name.m')
assert(isempty(strfind(filetext, 'inf')))
% 18-Jan-2013
% test suite suggested by Joseph Kirk (thanks)
y_correct = false;
if str2double(datestr(now,'hh')) >= 7 & str2double(datestr(now,'hh')) <= 9
y_correct = true;
end
assert(isequal(y_correct,true))
filetext =
function your_fcn_name
%This code written by profile_id 3021298
filetext =
function your_fcn_name
%This code written by profile_id 3021298
filetext =
function your_fcn_name
%This code written by profile_id 3021298
|
Project Euler: Problem 9, Pythagorean numbers
158 Solvers
Matrix indexing with two vectors of indices
408 Solvers
Create a Multiplication table matrix...
226 Solvers
Determine the number of odd integers in a vector
323 Solvers
437 Solvers