Problem 2424. Latest Question On Cody

Solution 1850967

Submitted on 17 Jun 2019
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   Fail
tic url = ''; 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)));

Index exceeds the number of array elements (0). Error in Test1 (line 6) q = c{1};

Suggested Problems

More from this Author44