Editorial for SGS Programming Challenge P1 - XOR in Computer Class
Submitting an official solution before solving the problem yourself is a bannable offence.
Author:
Subtask 1
Because
Time complexity:
Full solution
We can observe that the bits are independent, thus we can use our subtask 1 solution on each bit position separately, multiplying our answer by
Time complexity:
Comments