Exercise

Which of the following codes in (Z/3Z)3 is a (3,2)-code?

{(-1,0,0), (0,0,0), (1,0,0)}.

The code generated by (1,-1,0), (0,1,1), and (1,0,1).

{(1,0,0), (-1,0,0), (0,1,0), (0,-1,0)}.