AtCoder D - Pairs(二分!再二分!)

NoSuchKey