n=2, k0=0, k1=1
Optimal Minimum Distance: 2
Generator Matrices that generate Codes having Optimal Minimum Distance: 2,
Total No. of Codes having Optimal Minimum Distance: 1
Generator Matrices that generate Nice Codes : None
Total No. of Nice Codes: 0

Generator Matrix-1

c 0

Codewords:

0 0
c 0

dmin: 1
Weight Enumerator: 1x0 + 1x1 + 0x2
Complete Weight Enumerator: (X_0)2 + (X_0)1 (X_c)1

Dual Codewords:

0 0
0 a
0 b
0 c
a 0
a a
a b
a c
b 0
b a
b b
b c
c 0
c a
c b
c c

Is it a nice code?: No

Generator Matrix-2

c c

Codewords:

0 0
c c

dmin: 2
Weight Enumerator: 1x0 + 0x1 + 1x2
Complete Weight Enumerator: (X_0)2 + (X_c)2

Dual Codewords:

0 0
0 a
0 b
0 c
a 0
a a
a b
a c
b 0
b a
b b
b c
c 0
c a
c b
c c

Is it a nice code?: No