Hack.
"regexp" hack.
please check this code
problem : right angle or not
function flag = isrightangle(a,b,c)
if (c^2 == (b^2+a^2))
flag ='true'
else
flag = 'false'
end
end
Problem specification says nothing about more than one value in a row equaling the row max. Cases 5 or 6 should be included in the specification.
Thanks for the comment . I have just updated the description.
6359 Solvers
Make one big string out of two smaller strings
1148 Solvers
How long is the longest prime diagonal?
338 Solvers
Rotate input square matrix 90 degrees CCW without rot90
380 Solvers
277 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!