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

E: The Flood