ACM/ICPC集训队组队积分赛1

D: Flipper