摘要: Problem DescriptionGiven a circle sequence A[1],A[2],A[3]......A[n]. Circle sequence means the left neighbour of A[1] is A[n] , and th... 阅读全文
posted @ 2015-05-18 20:34 Herumw 阅读(147) 评论(0) 推荐(0)
摘要: Problem DescriptionGive you three integers n, A and B. Then we define Si = Ai mod B and Ti = Min{ Sk | i-A = 1}Your task is to calcula... 阅读全文
posted @ 2015-05-18 13:46 Herumw 阅读(144) 评论(0) 推荐(0)