原题面的链接挂了
这是新链接:https://cemc.uwaterloo.ca/contests/computing/past_ccc_contests/2015/stage%202/day1.pdf