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 |
贴几组数据吧——单调队列12 3 1 3 5 7 -1 -1 -1 -1 7 7 7 7 12 4 1 3 5 7 -1 -1 -1 -1 7 7 7 7 12 4 -2000000000 -2 -3 -4 -5 -6 -5 -4 -3 -2 -1 0 12 3 2000000000 -2 -3 -4 -5 -6 -5 -4 -3 -2 -1 0 提醒大家的初始化,用单调队列一开是头尾相等的时候会因为初始化于第一个值比较不一定而导致WA。 但是G++还是超时,c++过了。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator