Codeforces Round #578 (Div. 2) D. White Lines(二维差分+前缀和)

NoSuchKey