Problem 164. Right and wrong
Solution Stats
Problem Comments
-
2 Comments
how is [5 5 5] false?
@Nikolaos
[5 5 5] can make a triangle, but not a *right* triangle (with one 90-degree angle). See the Wikipedia page definition.
Solution Comments
-
1 Comment
This problem, and more similar but difficult ones, are covered in depth in the CUP challenge
-
1 Comment
good !!!!!
-
2 Comments
not a solution to the problem. solution to the testcases.
I added a test case to nullify this "solution".
-
2 Comments
right triangle>a triangle with one 90 degree_angle?from this point,we can see the expression power of English sucks when compared to that of chinese
FYI, "right triangle" is American English, "right-angled triangle" (or "right-angle triangle") is British English. Neither expression reflects the 'power' of the language.
-
1 Comment
This presupposes issorted([a b c]).
Problem Recent Solvers1174
Suggested Problems
-
Remove any row in which a NaN appears
7887 Solvers
-
Return a list sorted by number of occurrences
2081 Solvers
-
576 Solvers
-
Create matrix of replicated elements
360 Solvers
-
Create a two dimensional zero matrix
442 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!