Matthew Jones

6098
Rank
4
Badges
540
Score
1 – 50 of 59

Matthew Jonessubmitted aCommentto解决方案1172354

When I run the following solution for Test Suite #1, I get a zero in my solution array. If I replace c(i) with c, I get back a 2 and 3 (no zero). What is going on that a zero shows up? [count, val] = histcounts(categorical(vect)) val = cellfun(@str2double, val) % convert val from string to numerical for i = 1:length(count) if count(i) == 3 c(i) = val(i) end end

on 26 Apr 2017

Matthew JonesreceivedCUP Challenge Masterbadge

on 29 Mar 2017

Matthew Jonessubmitted aCommentto解决方案1148597

The problem statement should specify which (the width or the height) is the longer side of the rectangle.

on 29 Mar 2017

1 – 50 of 59