上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 66 下一页
摘要: String Problem Description There is a string S.S only contain lower case English character.(10≤length(S)≤1,000,000)How many substrings there are that 阅读全文
posted @ 2016-04-22 22:23 meekyan 阅读(454) 评论(0) 推荐(0) 编辑
摘要: D. Kefa and Dishes When Kefa came to the restaurant and sat at a table, the waiter immediately brought him the menu. There were n dishes. Kefa knows t 阅读全文
posted @ 2016-04-22 18:45 meekyan 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 2124: 等差子序列 Description 给一个1到N的排列{Ai},询问是否存在1<=p1=3),使得Ap1,Ap2,Ap3,…ApLen是一个等差序列。 给一个1到N的排列{Ai},询问是否存在1<=p1=3),使得Ap1,Ap2,Ap3,…ApLen是一个等差序列。 Input 输入的第 阅读全文
posted @ 2016-04-22 17:22 meekyan 阅读(280) 评论(0) 推荐(0) 编辑
摘要: E. Beautiful Subarrays One day, ZS the Coder wrote down an array of integers a with elements a1, a2, ..., an. A subarray of the array a is a sequence  阅读全文
posted @ 2016-04-22 14:39 meekyan 阅读(408) 评论(0) 推荐(0) 编辑
摘要: Almost Union-Find I hope you know the beautiful Union-Find structure. In this problem, you’re to implement somethingsimilar, but not identical.The dat 阅读全文
posted @ 2016-04-21 20:28 meekyan 阅读(250) 评论(0) 推荐(0) 编辑
摘要: Feel Good Description Bill is developing a new mathematical theory for human emotions. His recent investigations are dedicated to studying how good or 阅读全文
posted @ 2016-04-20 21:05 meekyan 阅读(265) 评论(0) 推荐(0) 编辑
摘要: C. Mail Stamps One day Bob got a letter in an envelope. Bob knows that when Berland's post officers send a letter directly from city «A» to city «B», 阅读全文
posted @ 2016-04-20 20:11 meekyan 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 2751: [HAOI2012]容易题(easy) Description 为了使得大家高兴,小Q特意出个自认为的简单题(easy)来满足大家,这道简单题是描述如下:有一个数列A已知对于所有的A[i]都是1~n的自然数,并且知道对于一些A[i]不能取哪些值,我们定义一个数列的积为该数列所有元素的乘积 阅读全文
posted @ 2016-04-20 19:40 meekyan 阅读(269) 评论(0) 推荐(1) 编辑
摘要: A set of n 1-dimensional items have to be packed in identical bins. All bins have exactly the samelength l and each item i has length li ≤ l. We look 阅读全文
posted @ 2016-04-18 18:49 meekyan 阅读(674) 评论(0) 推荐(0) 编辑
摘要: Corporative Network A very big corporation is developing its corporative network. In the beginning each of the N enterprisesof the corporation, numera 阅读全文
posted @ 2016-04-16 00:00 meekyan 阅读(305) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 66 下一页