Closed 1s22s1 closed 5 days ago
https://atcoder.jp/contests/abc054/tasks/abc054_c
https://drken1215.hatenablog.com/entry/2019/09/16/224600
https://atcoder.jp/contests/abc054/tasks/abc054_c