← All problemsSign in

Revise Your Geometry

Okay, now we're talking class 6 geometry. Remember that, don't you? Lines and points and aha! Triangles? We give you 3 points and you tell us what sort of a triangle it forms, if it forms a triangle that is. What? Yes! That's all! Input The first line of input gives the number of cases, N. N test cases follow. Each case is a line formatted as: x1 y1 x2 y2 x3 y3 Output For each test case, outpu

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start