Before: The rule is simple: for each pair of consecutive beads in the necklace, we take sum of their numbers. A programmer’s score is defined as the XOR(denoted as $\oplus$) of all those sums.
After: The rule is simple: for each pair of consecutive beads in the necklace, we take XOR (denoted as $\oplus$) of their numbers. A programmer’s score is defined as the sum of all those XORs.
parkky 2년 전 4
다음과 같이 수정되어야 합니다.
Before: The rule is simple: for each pair of consecutive beads in the necklace, we take sum of their numbers. A programmer’s score is defined as the XOR(denoted as $\oplus$) of all those sums.
After: The rule is simple: for each pair of consecutive beads in the necklace, we take XOR (denoted as $\oplus$) of their numbers. A programmer’s score is defined as the sum of all those XORs.