Problem 163. Love triangles
Solution Stats
Problem Comments
-
1 Comment
Gaik Tamazian
on 17 Feb 2012
Tests with sides that are not sorted should be added.
Solution Comments
-
1 Comment
Binbin Qi
on 25 Apr 2012
no range??
-
1 Comment
Peter Wittenberg
on 31 Mar 2012
I wanted to try out the Hankel here. This is more than necessary. It checks to see that the sum of all pairs of sides are greater than the remaining side. You really only need to do this to compare against the maximum length side.
-
3 Comments
Yvan Lengwiler
on 1 Mar 2012
This is just bad, only gaming the test suit. There is nothing to be learned from this.
MD. MASRUL HUDA
on 23 Jun 2012
worst solution ,i have ever seen
the cyclist
on 9 Mar 2013
Added to test suite to eliminate this "solution".
Problem Recent Solvers554
Suggested Problems
-
Select every other element of a vector
28089 Solvers
-
Return the 3n+1 sequence for n
7384 Solvers
-
1576 Solvers
-
374 Solvers
-
Generate N equally spaced intervals between -L and L
802 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!