“…, A n ) is an important research object in coding theory, as it contains crucial information about the error correcting capability of the code. Thus study on weight distribution of linear codes attracts much attention in coding theory and many works focus on determining weight distribution of linear codes (see, for example, [6,7,8,9,10,11,15,21,22,23,24] and the references therein). A code C is said to be a t-weight code if the number of nonzero A i in the sequence (A 1 , A 2 , • • • , A n ) is equal to t. Denote by C ⊥ the dual code of a linear code C. We call an [n, k, d] code distance-optimal if no [n, k, d + 1] code exists and dimensionoptimal if no [n, k + 1, d] code exists.…”