ACM/ICPC集训队专题训练第七场--博弈

C: Baihacker and Oml