上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 66 下一页
摘要: D. Maximum ValueYou are given a sequenceaconsisting ofnintegers. Find the maximum possible value of(integer remainder ofaidivided byaj), where1 ≤ i, j... 阅读全文
posted @ 2015-11-14 21:29 meekyan 阅读(325) 评论(0) 推荐(0) 编辑
摘要: A. BitsLet's denote asthe number of bits set ('1' bits) in the binary representation of the non-negative integerx.You are given multiple queries consi... 阅读全文
posted @ 2015-11-14 21:20 meekyan 阅读(318) 评论(0) 推荐(0) 编辑
摘要: BZOJ 1026: [SCOI2009]windy数:题目链接:http://www.lydsy.com/JudgeOnline/problem.php?id=1026 dp[11][11][2]:dep,pre,f 要求的性质就是相邻数字差至少是2。 递归函数的状态设计如下... 阅读全文
posted @ 2015-11-14 14:04 meekyan 阅读(332) 评论(2) 推荐(0) 编辑
摘要: DZY Loves Topological SortingProblem DescriptionA topological sort or topological ordering of a directed graph is a linear ordering of its vertices su... 阅读全文
posted @ 2015-11-10 20:39 meekyan 阅读(169) 评论(0) 推荐(0) 编辑
摘要: D. Super MAri the monster is not an ordinary monster. She is the hidden identity of Super M, the Byteforces’ superhero. Byteforces is a country that c... 阅读全文
posted @ 2015-11-10 15:54 meekyan 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Removed IntervalProblem DescriptionGiven a sequence of numbers A=a1,a2,…,aN, a subsequence b1,b2,…,bk of A is referred as increasing if b1using namesp... 阅读全文
posted @ 2015-11-10 12:42 meekyan 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 1787: [Ahoi2008]Meet 紧急集合DescriptionInputOutputSample Input6 4 1 2 2 3 2 4 4 5 5 6 4 5 6 6 3 1 2 4 4 6 6 6 Sample Output 5 2 2 5 4 1 6 0 HINT题解:求出两两lc... 阅读全文
posted @ 2015-11-09 20:28 meekyan 阅读(238) 评论(0) 推荐(0) 编辑
摘要: B. Pasha and PhonePasha has recently bought a new phonejPagerand started adding his friends' phone numbers there. Each phone number consists of exactl... 阅读全文
posted @ 2015-11-09 15:48 meekyan 阅读(354) 评论(0) 推荐(0) 编辑
摘要: D. Max and BikeFor months Maxim has been coming to work on his favorite bicycle. And quite recently he decided that he is ready to take part in a cycl... 阅读全文
posted @ 2015-11-09 15:41 meekyan 阅读(299) 评论(0) 推荐(0) 编辑
摘要: E. LIS of SequenceThe next "Data Structures and Algorithms" lesson will be about Longest Increasing Subsequence (LIS for short) of a sequence. For bet... 阅读全文
posted @ 2015-11-08 23:57 meekyan 阅读(279) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 66 下一页