摘要: Problem DescriptionOO has got a array A of size n ,defined a function f(l,r) represent the number of i (li) satisfy ai mod aj=0,now OO want to know∑i=... 阅读全文
posted @ 2015-09-10 22:25 UniqueColor 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionMZL loves xor very much.Now he gets an array A.The length of A is n.He wants to know the xor of all (Ai+Aj)(1≤i,j≤n)The xor of an a... 阅读全文
posted @ 2015-09-10 21:27 UniqueColor 阅读(212) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionFor 2 non-negative integers x and y, f(x, y) is defined as the number of different bits in the binary format of x and y. For exampl... 阅读全文
posted @ 2015-09-10 21:13 UniqueColor 阅读(259) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionToday is the 1st anniversary of BestCoder. Soda, the contest manager, gets a string s of length n. He wants to find three nonoverla... 阅读全文
posted @ 2015-09-10 20:19 UniqueColor 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionToday, Soda has learned a sequence whose n-th (n≥1) item is 3n(n−1)+1. Now he wants to know if an integer m can be represented as t... 阅读全文
posted @ 2015-09-10 19:42 UniqueColor 阅读(217) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionRecently, Dave is boring, so he often walks around. He finds that some places are too crowded, for example, the ground. He couldn't... 阅读全文
posted @ 2015-09-10 18:37 UniqueColor 阅读(235) 评论(0) 推荐(0) 编辑
摘要: DescriptionDao was a simple two-player board game designed by Jeff Pickering and Ben van Buskirk at 1999. A variation of it, called S-Dao, is a one-pl... 阅读全文
posted @ 2015-09-10 11:26 UniqueColor 阅读(366) 评论(0) 推荐(0) 编辑