Комментарии
На hpfdf[PROB] 0/1 matrix, 14 месяцев назад
0
Thank you. @_@
На hpfdfSome interesting problems, 19 месяцев назад
0
Thx for your idea.

N non-negative integers are given in binary code.

We can use a prefix tree (Trie) to solve case 3.  (USACO Training 6.1.3 Cow XOR)
O(NlogM)

In case 4 we can sort the integers, and the max NOR value must be from two adjacent integers.
O(Nlog2M) using quick sort..
На hpfdfSome interesting problems, 19 месяцев назад
0
No..  Just some problems..
На qinpengfeinumber 1, 2 года назад
0
呵呵 哈哈 嘎嘎 嘿嘿 嘻嘻 are all 'Ha Ha'.