GP of Chinal 2017
Could not find related blog. Let's discuss. What's the solution of B?
Atcoder ABC #354 Solution Discussion