CODE FESTIVAL 2017 qual C A: Can you get AC?

code-festival-2017-qualc.contest.atcoder.jp

github.com