We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I was getting crazy wondering why my query was not passing the test cases.
Your tip save my time.
i had to change this code:
/*Enter your query here.*/SELECTIF(A=BANDA=C,'Equilateral',IF(A=BORA=CORB=C,'Isosceles',IF(A+B<CORA+C<BORB+C<A,'Not A Triangle','Scalene')))FROMTRIANGLES
To this other:
/*Enter your query here.*/SELECTIF(A+B<=C,'Not A Triangle',IF(A=BANDA=C,'Equilateral',IF(A=BORA=CORB=C,'Isosceles','Scalene')))FROMTRIANGLES
to get pass the test cases
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Type of Triangle
You are viewing a single comment's thread. Return to all comments →
I was getting crazy wondering why my query was not passing the test cases.
Your tip save my time.
i had to change this code:
To this other:
to get pass the test cases