You are viewing a single comment's thread. Return to all comments →
A bit of clarification of criteria is in order.
The origin on one of the sides of a triangle should be counted as IN, not out.
There will be no test cases where the origin itself is one of the triangle corners.
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #102: Triangle containment
You are viewing a single comment's thread. Return to all comments →
A bit of clarification of criteria is in order.
The origin on one of the sides of a triangle should be counted as IN, not out.
There will be no test cases where the origin itself is one of the triangle corners.