Doctor Elephant is testing his new program: output the bitwise or of the numbers inputed. He has decided to input severalmultiples of 3 and the output of the program should be his favorite numberaaa. Because he is lazy, he decided to input as few numbers as possible. He wants you to construct such an input for everyaaahe chose. It's guaranteed that for everyaaain the input there is such a solution. If there're multiple solutions you can output any.
Doctor Elephant is testing his new program: output the bitwise or of the numbers inputed. He has decided to input several multiples of 3 and the output of the program should be his favorite number aaa. Because he is lazy, he decided to input as few numbers as possible. He wants you to construct such an input for every aaa he chose. It's guaranteed that for every aaa in the input there is such a solution. If there're multiple solutions you can output any.
标签: HBC50328暗号I 二分 分治 哈希triples I题解