A.first==NULL B.first->link==NULL C.first->link==first D.first!=NULL
A.(i+3)*i/2 B.(i+1)*i/2 C.(2n-i+1)*i/2 D.(2n-i-1)*i/2