B. Equal Rectangles(思维)Codeforces Round #579 (Div. 3)

NoSuchKey