学凯 刘 - MATLAB Cody - MATLAB Central

学凯 刘

1759
Rank
9
Badges
1500
Score
1 – 50 of 126

学凯 刘 received Community Group Solver badge for Basics - Triangles

on 11 Jan 2021

学凯 刘 submitted a Comment to Problem 1103. Right Triangle Side Lengths (Inspired by Project Euler Problem 39)

Well I don't know why I can't pass the test could anyone help function c = right_triangle_sides(p) c = {}; k=1; for i=1:ceil(p/3) for j=i:ceil((p-i)/2) if i^2+j^2==(p-i-j)^2 c(k)=mat2cell([i j p-i-i],1); k=k+1; end end end end

on 10 Jan 2021

学凯 刘 received Project Euler I Master badge

on 9 Jan 2021

学凯 刘 received Community Group Solver badge for Basics - Rounding

on 31 Dec 2020

学凯 刘 received CUP Challenge Master badge

on 31 Dec 2020

1 – 50 of 126
Go to top of page