← All problemsSign in

Geometry Problem

Ishpreet and Karan Arora have done almost every type of geometry problem but they haven’t seen a problem like this. There are N points in a plane. The ith point has coordinates (xi, yi). Perform the following queries, and always include the boundry points (i and j) in the operation: 1. Reflect all points between points i and j along the X axis. This query is represented as "X i j" 2. Reflect al

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