摘要: D. KindergartenIn a kindergarten, the children are being divided into groups. The teacher put the children in a line and associated each child with hi... 阅读全文
posted @ 2015-11-14 21:33 meekyan 阅读(233) 评论(0) 推荐(0)
摘要: 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 阅读(335) 评论(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 阅读(329) 评论(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 阅读(359) 评论(2) 推荐(0)