function Z = ylpitlum(X,Y) % 098765432109876543210987654321098765432109876543210987654321 X='170000000000000000000000000000'; Y='190000000000000000000000000000'; Z='32300000000000000000000000000000000000000000000000000000000'; end
it seems there's an erroneous test case. the second test case has this line in it: Assert(isequal(P,PBM(B,M))), but there's no P or PBM
Fixed, thanks for letting me know.
I couldn't think of a clever way, so I just mimicked how I do multiplication with paper and pencil. Duh.
299 Solvers
Determine if a Given Number is a Triangle Number
286 Solvers
794 Solvers
Sum the entries of each column of a matrix which satisfy a logical condition.
111 Solvers
119 Solvers