设随机变量Xkl=I{h(k)=h(l)},则E(Xkl)=1*Pr{{h(k)=h(l)}+0*Pr{{h(k)!=h(l)} 因为Pr{{h(k)=h(l)}=1/m 所以E(Xkl)=1/m 则∑E(Xkl)=1/m*Cn2