Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
贪心是错的吧?贪心AC的试试这些数据input: 39 3 3 3 4 4 4 5 5 7 7 3 3 3 4 4 4 5 6 6 7 3 3 3 4 4 4 6 6 6 6 3 3 3 4 4 5 5 5 5 8 3 3 3 4 4 5 5 5 6 7 3 3 3 4 4 5 5 6 6 6 3 3 3 4 5 5 5 5 5 7 3 3 3 4 5 5 5 5 6 6 3 3 3 5 5 5 5 5 5 6 3 3 4 4 4 4 4 4 6 9 3 3 4 4 4 4 4 4 7 8 3 3 4 4 4 4 4 5 5 9 3 3 4 4 4 4 4 5 6 8 3 3 4 4 4 4 4 5 7 7 3 3 4 4 4 4 4 6 6 7 3 3 4 4 4 4 5 5 5 8 3 3 4 4 4 4 5 5 6 7 3 3 4 4 4 4 5 6 6 6 3 3 4 4 4 5 5 5 5 7 3 3 4 4 4 5 5 5 6 6 3 3 4 4 5 5 5 5 5 6 3 3 4 5 5 5 5 5 5 5 3 4 4 4 4 4 4 4 5 9 3 4 4 4 4 4 4 4 6 8 3 4 4 4 4 4 4 4 7 7 3 4 4 4 4 4 4 5 5 8 3 4 4 4 4 4 4 5 6 7 3 4 4 4 4 4 4 6 6 6 3 4 4 4 4 4 5 5 5 7 3 4 4 4 4 4 5 5 6 6 3 4 4 4 4 5 5 5 5 6 3 4 4 4 5 5 5 5 5 5 4 4 4 4 4 4 4 4 4 9 4 4 4 4 4 4 4 4 5 8 4 4 4 4 4 4 4 4 6 7 4 4 4 4 4 4 4 5 5 7 4 4 4 4 4 4 4 5 6 6 4 4 4 4 4 4 5 5 5 6 4 4 4 4 4 5 5 5 5 5 output: 3 3 5 2 3 5 3 4 4 1 2 1 2 3 3 2 3 5 3 4 4 7 1 2 3 2 3 5 3 4 4 6 1 2 3 3 4 4 5 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator