/TrainingGuide/bookcodes/ch3/uva11107.cpp注释一处问题
Opened this issue · 1 comments
GoogleCodeExporter commented
对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
er...确实是我写错了。谢谢
Original comment by rujia....@gmail.com
on 3 Sep 2013 at 4:53
- Changed state: Accepted