"Source: Text/Code/CodeFld.text";
"Line: 2197";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/CodeFld.text, line: 2197
// Example: H165E21 ()
print "Example: H165E21";
ei := GetEchoInput();
SetEchoInput(true);
R<t> := PolynomialRing(GF(3));
C := CyclicCode(11, t^5 + t^4 + 2*t^3 + t^2 + 2);
W<x, y> := WeightEnumerator(C);        
W;
CW<u, v, w> := CompleteWeightEnumerator(C);
CW;
u := AmbientSpace(C)![0,0,0,0,0,0,0,0,0,0,1];
Wu := WeightEnumerator(C, u);
Wu;
SetEchoInput(ei);
