Cody

Hee Jason

874
Rank
9
Badges
1370
Score
1 – 50 of 117

Hee Jason submitted Solution 3956818 to Problem 41. Cell joiner

on 2 Dec 2020 at 10:57

Hee Jason received Community Group Solver badge for Basics - Triangles

on 1 Dec 2020 at 7:56

Hee Jason submitted a Comment to Solution 3935418

function c = right_triangle_sides(p) N = round(p/2); A = 1:N; A = A.^2; B = sqrt(A + A'); C = arrayfun(@(t) t/floor(t) == 1,B); [i j] = find(triu(C)); k = p - i - j; x = (i.^2 + j.^2 - k.^2 == 0); R = [i(x) j(x) k(x)]; R = sortrows(R); R = R'; [~,col] = size(R); c = mat2cell(R(:)',1,3*ones(1,col)); end

on 1 Dec 2020 at 7:04

Hee Jason received Community Group Solver badge for Basics - Binary Logic

on 30 Nov 2020 at 15:35

Hee Jason submitted Solution 3890723 to Problem 2891. Binary code (array)

on 28 Nov 2020 at 13:14

Hee Jason submitted Solution 3890598 to Problem 1295. Bit Reversal

on 28 Nov 2020 at 13:00

Hee Jason submitted a Comment to Solution 3890548

B = repmat([0 1],1,n); A = unique(nchoosek(B,n),'rows');

on 28 Nov 2020 at 12:55

Hee Jason submitted Solution 3890548 to Problem 34. Binary numbers

on 28 Nov 2020 at 12:55

Hee Jason received Commenter badge for Solution 3874178

on 27 Nov 2020 at 10:08

Hee Jason submitted a Comment to Solution 3874178

function y = lengthOnes(x) y = double(x == '1'); L = numel(y); A = tril(ones(L,L)); C = mat2cell(A,ones(1,L),L); D = cellfun(@(c) conv(c,y),C,"UniformOutput",false); E = cellfun(@(c) sum(c),C); F = cellfun(@(c) max(c),D); R = max(E(F == E)); if(isempty(R)) y = 0; else y = R; end end

on 27 Nov 2020 at 10:08

Hee Jason received Community Group Solver badge for Basics - Rounding

on 17 Nov 2020 at 9:54

Hee Jason submitted Solution 3693903 to Problem 43278. Make roundn function

on 17 Nov 2020 at 9:54

Hee Jason received CUP Challenge Master badge

on 5 Nov 2020 at 5:51

Hee Jason submitted Solution 3552520 to Problem 2024. Triangle sequence

on 5 Nov 2020 at 5:07

Hee Jason submitted Solution 3551610 to Problem 2018. Side of a rhombus

on 5 Nov 2020 at 3:28

1 – 50 of 117