摘要:
D. Maximum ValueYou are given a sequenceaconsisting ofnintegers. Find the maximum possible value of(integer remainder ofaidivided byaj), where1 ≤ i, j... 阅读全文
摘要:
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... 阅读全文
摘要:
BZOJ 1026: [SCOI2009]windy数:题目链接:http://www.lydsy.com/JudgeOnline/problem.php?id=1026 dp[11][11][2]:dep,pre,f 要求的性质就是相邻数字差至少是2。 递归函数的状态设计如下... 阅读全文