codeforces 532 E. Andrew and Taxi 二分 + 拓扑排序

NoSuchKey