You are viewing a single comment's thread. Return to all comments →
This is a poorly written problem. Two mistakes that has gotten others: 1) the table name is triangles not triangle. 2) It should read 'Not a Triangle' (with lower case 'a').
Agreed. Though, semantic quality of the problem does not diminish the technical quality.
agreed. It will be great if someone could correct the typos.
yeah but a lot of these problems have semantic errors that cause me aggravation and wondering, why my apparently correct answer is wrong.
The author changed the 'Not a Traingle' to 'Not A Triangle ' as described in the question, but the table is still named triangles
The typos are corrected. The only correction is table name, it is Triangles not Triangle. The output Not A Triangle is considered as correct now.
It was correct as it was before. Articles (a, an, etc.) should not be capitalized in a title.
that lowercase 'a' got me
one problem is that it does not account for "some of 2 sides = 3rd side" condition. in that case also it will not be a triangle, but a straight line. I would agree with others that semantic quality of the problem does not diminish the technical quality.