77dbd7ee / aoapc-book

Automatically exported from code.google.com/p/aoapc-book
0 stars 0 forks source link

/TrainingGuide/bookcodes/ch3/uva11107.cpp注释一处问题 #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
对rank[]的注释说:“ 名次数组. 
rank[0]一定是n-1,即最后一个字符”,其实应该是“ 
名次数组. 
rank[n-1]一定是0,即最后一个字符”,代码中buildHeight()有rank[s
a[i]]=i;故rank[n-1]=rank[sa[0]]=0;

Original issue reported on code.google.com by pengfeit...@gmail.com on 3 Aug 2013 at 2:51

GoogleCodeExporter commented 9 years ago
er...确实是我写错了。谢谢

Original comment by rujia....@gmail.com on 3 Sep 2013 at 4:53