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 |
RE的同学试试以下数据数据: 10 1 4 7 8 9 6 3 2 5 10 10 REVERSE 3 8 REVOLVE 5 10 -2147483647 DELETE 1 INSERT 0 5 INSERT 10 4 REVOLVE 1 11 -1111111111 REVOLVE 1 11 5 ADD 8 11 2 MIN 1 6 MIN 8 11 答案: 4 4 保险起见,REVOLVE要特判T<0的情况 T=0时直接结束(用三次REVERSE实现REVOLVE的同学要注意) 要特判区间退化成点的情况 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator