AtCoder Grand Contest 016 D - XOR ReplaceProblem StatementConstraintsInputOutputGistSolutionCode
Time limit : 2sec / Memory limit : 256MBScore : 1000 pointsProblem StatementThere is a sequence of length N: a=(a1,a2,…,aN). Here, each ai is a non-negative integer.Snuke can repeatedly perform the fol