摘要:
Problem DescriptionYou are given a sequence of n numbers a0,..., an-1. A cyclic shift by k positions (0<=k<=n-1) results in the following sequence: akak+1,..., an-1, a0, a1,..., ak-1. How many of the n cyclic shifts satisfy the condition that the sum of the first i numbers is greater than or 阅读全文
posted @ 2013-03-11 23:13
浪舟
阅读(193)
评论(0)
推荐(0)
浙公网安备 33010602011771号