Codeforces Round #532 (Div. 2):F. Ivan and Burgers(贪心+异或基)

NoSuchKey