如果写 for(int i = 0;i <= len[u];++i) 是错的!
for(int i = 0;i <= len[u];++i)
写 < 是对的!
<
(len[leaf] = 1)
len[leaf] = 1
赞美Spouter_27,他一眼就看出了错误!