SP5833 XORROUND - XOR Rounds
Description
You are given a cyclic array A having N numbers. In an XOR round, each element of the array A is replaced by the bitwise XOR (Exclusive OR) of itself, the previous element, and the next element in the array. All operations take place simultaneously. Can you calculate A after K such XOR rounds ?
**Input**
The first line contains the number of test cases T (T
Input Format
N/A
Output Format
N/A