摘要:
DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and enjoy a vacation on the sunny shores... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
Problem Description Peter is studying in the third grade of elementary school. His teacher of geometry often gives him difficult ... 阅读全文
摘要:
Little Petya likes points a lot. Recently his mom has presented him n points lying on the line OX. Now Petya is wondering in how many ... 阅读全文
摘要:
Problem DescriptionThere is a sequence of integers. Your task is to find the longest subsequence that satisfies the following conditio... 阅读全文
摘要:
Problem Description世博会马上就要开幕了,福州大学组织了一次志愿者选拔活动。参加志愿者选拔的同学们排队接受面试官们的面试。参加面试的同学们按照先来先面试并且先结束的原则接受面试官们的考查。面试中每个人的人品是主要考查对象之一。(提高人品的方法有扶老奶... 阅读全文
摘要:
DescriptionAn array of size n ≤ 106 is given to you. There is a sliding window of size k which is moving from the very left of the arr... 阅读全文