Flash Running
CodeChefOpen on judge ↗
Flash is running in the streets of Kolkata. He starts running from a point (x, y). He runs so fast that his running always forms a straight path. He sometimes takes turns and again resumes running in straight path. Given that Flash makes N turns, and the line equation of each path along which he runs in the form of aixi + biyi+ ci = 0 where i = 1 to N+1 is the equation of the ith path, help him d
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.
Sign in to chat with the tutor and save your progress.
Sign in to start