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

C: Decompressing in a GIF