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 |
只考虑相邻的??显然数据太水了,随便加上一组数据就能rj掉一堆人比如 3 5 1 100 16 100 20 100 显然答案是1800 而不是2700 当然程序写出来可以是O(n),每次更新上一周的价格就OK。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator