Utsavcc's blog

By Utsavcc, 4 months ago, In English

Given an array of elements Ai (<=1e9) of length N (<=1e5), and another array named 'operands' of size K (<=4), You can do the following operations as many times as desired: Select any element in original array and XOR it with any element in 'operands' array. Minimize the Maximum difference between any pairs of the array.

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it