
规律
Merry_hj
不完美小孩的完美梦想
展开
-
hdu 6129 Just do it
http://acm.hdu.edu.cn/showproblem.php?pid=6129 Problem Description There is a nonnegative integer sequence a1…n of length n. HazelFan wants to do a type of transformation called prefix-XOR, which mea原创 2017-08-17 10:19:12 · 313 阅读 · 0 评论 -
hdu 6124 Euler theorem(水题)
http://acm.hdu.edu.cn/showproblem.php?pid=6124 Problem Description HazelFan is given two positive integers a,b, and he wants to calculate amodb. But now he forgets the value of b and only remember th原创 2017-08-15 23:40:02 · 662 阅读 · 1 评论 -
HDU 2062 Subest sequence
Subset sequence题目大意:考虑一个集合 An = { 1, 2, …, n}。比如,A1={1},A3={1,2,3}。我们称一个非空子集元素的排列为一个子集序列。对所有的子序列按字典顺序排序。你的任务就是给出第m个子序列。 测试数据: Sample Input 1 1 2 1 2 2 2 3 2 4 3 10Sample Output 1 1 1 2 2 2原创 2017-11-12 19:55:31 · 446 阅读 · 0 评论