Problem 1002 Whether on the segment or not?

acoder1 | 2016-04-16 19:41:51Author
Delta is the triangle with (0,0) and (0,q) and (q,0) ? And here segment denotes the line connecting (0,q) and (q,0) ? And the line connecting (0,0) and the point on line (connecting (0,q) and (q,0) ) is also a segment?
admin | 2016-04-16 19:43:30# 1
Yes.