Cody

Solution 473770

Submitted on 16 Jul 2014 by Mehmet OZC
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
%% tic url = 'https://www.mathworks.com/matlabcentral/cody/?term=&sort=created+desc'; html = urlread(url); pattern = ['"problem_[0-9]+"']; c = regexp(html,pattern,'match'); q = c{1}; n = str2num(q(isstrprop(q,'digit'))); t_act = toc; tic n1 = numProb(); t_1 = toc; assert(isequal(n1,n) & (t_1<=(t_act*0.95)));
ans = 2440