Given 2 numbers N and Q followed by N numbers.Now Q inputs of 2 Numbers U and V are given. U indicates the starting index and V indicates the ending index. So for each U, V find the XOR of all values of the array from the index U to v(1 based indexing). Input Size: N <= 100000
example
INPUT
53
12141
13
24
34
OUTPUT
2
7
5
Answers
Answered by
6
Explanation:
ozp xfmc rhs
Answered by
0
Answer:
Gien 2numbersNandQfllo wed
Similar questions
India Languages,
14 hours ago
History,
14 hours ago
Accountancy,
14 hours ago
English,
1 day ago
Math,
8 months ago