Codeforces 524 E Rooks and Rectangles —— 线段树+sorting,思维

NoSuchKey