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 |
我用的方法~很容易想对于B X执行如下操作: 1.将X放入平衡树中 2.用X更新被除数小于等于2500的情况 对于A Y执行如下操作: 1.如果Y小于等于2500直接输出 2.如果Y大于2500就枚举商,到平衡树中找答案 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator