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 |
题目意思此题的意思是:给你两个数,一个Id一个是周期,之后又k次的询问。你需要输出此时周期最小的一个Id,如果此时最小的周期有两个,你需要输出Id最小的一个。注意在每次输出id后,你需要重新更新周期,更新后的周期为,上一阶段的周期加上原始周期。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator