Cody

# Albert Yam

Rank
##### 800
Score
1 – 50 of 99
 Albert Yam received Speed Demon badge for Solution 70121 on 30 Jul 2015 on 14 Jan 2013 on 31 Aug 2012 on 31 Aug 2012 on 31 Aug 2012 on 4 Jul 2012 on 3 Jul 2012 on 3 Jul 2012 on 3 Jul 2012 on 3 Jul 2012 on 7 Jun 2012 Albert Yam submitted a Comment to Solution 96692 ...cells on 7 Jun 2012 on 7 Jun 2012 on 30 May 2012 on 30 May 2012 Albert Yam submitted a Comment to Solution 86759 I lost to Doug. on 8 May 2012 on 8 May 2012 on 25 Apr 2012 on 25 Apr 2012 on 25 Apr 2012 on 25 Apr 2012 on 25 Apr 2012 on 25 Apr 2012 on 11 Apr 2012 Albert Yam submitted a Comment to Solution 73793 %the part of the code i cut out, should work in theory .. fliplist = fliplr(list); idx = triu(ones(length(list)),0); for j = 1:length(idx) idx2 = unique(perms(idx(j,:)),'rows'); [a b] = size(idx2); for i = 1 : a idxi = boolean(idx2(i,:)'); list2 = list; list2(idxi,:) = fliplist(idxi,:); list2 = list2'; list2 = list2(:); dlist = abs(diff(list2)); val2 = sum(dlist(2:2:end)); if val2 < val val = val2; orientation = idxi'; end if val == 0 return end end end on 10 Apr 2012 Albert Yam submitted a Comment to Solution 73793 Aww.. ran out of memory. on 10 Apr 2012 on 10 Apr 2012 on 10 Apr 2012 on 10 Apr 2012 on 3 Apr 2012 on 3 Apr 2012 On a second thought.. shouldn't there be only one deck? on 29 Feb 2012 Albert Yam submitted a Comment to Solution 54153 Should work for : hm1=[1 0 0 0 0 0 0 0 0 0 0 0 1;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0]; hm2=[1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 1]; on 29 Feb 2012 on 29 Feb 2012 hm1=[1 0 0 0 0 0 0 0 0 0 0 0 1;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0]; hm2=[1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 0;1 0 0 0 0 0 0 0 0 0 0 0 1]; Is player 1 supposed to win in this case? on 29 Feb 2012 on 29 Feb 2012 Albert Yam submitted a Comment to Solution 54136 Should work for Alfonso's cases. on 29 Feb 2012 on 29 Feb 2012 Albert Yam submitted a Comment to Solution 54130 I did it! on 29 Feb 2012 on 29 Feb 2012 Test 6 and 7 are the same (no actual problems, just saying). on 28 Feb 2012 on 28 Feb 2012 on 28 Feb 2012 on 28 Feb 2012 on 28 Feb 2012 on 28 Feb 2012 on 28 Feb 2012
1 – 50 of 99