B. Unplanned Queries

Problem Name:
B. Unplanned Queries
Site:AtCoder
Links:
Tags: