Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/ii/paper-3/3k/c/solution

A word of is the evaluation of an affine Boolean function
If , the two constants have weights and . If , choose with . Translation pairs every input where with one where . Hence every one of the other codewords has weight .

New to topics? Read the docs here!