Codeforces Round #Pi (Div. 2)-D. One-Dimensional Battle Ships (set+二分)

NoSuchKey