TopCoder SRM 626 Div1

------------------------------------------------------------
1000一眼看过去觉得太难了就没做...