Torque and edges | CodeChef