Rosetta Problems

Perpendicular pairs

https://marisaoj.com/problem/303