Cody

Solution 1551346

Submitted on 6 Jun 2018 by bainhome
  • Size: 9
  • This is the leading solution.
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
filetext = fileread('liked.m'); assert(isempty(strfind(filetext, '113'))) assert(isempty(strfind(filetext, '65'))) assert(isempty(strfind(filetext,'sparse'))) % %% % x = '3877541-mehmet-ozc'; % y_correct = 113; % assert(isequal(liked(x),y_correct))

2   Pass
x = '2391181-aurelien-queffurust'; y_correct = 65; assert(isequal(liked(x),y_correct))