bassuniz's blog

By bassuniz, history, 6 months ago, In English

Yesterday, I was curious about this problem Given an array

$$$ a = [a_1, a_2, \dots, a_n] $$$

Construct another array

$$$ b = [b_1, b_2, \dots, b_n] $$$

such that the value

$$$ (a_1 \oplus b_1) \oplus (a_2 \oplus b_2) \oplus \dots \oplus (a_n \oplus b_n) $$$

is maximized.

Full text and comments »

  • Vote: I like it
  • -18
  • Vote: I do not like it