Mercurial > hg > Members > kono > Cerium
diff example/word_count_test/ppe/Print.cc @ 666:4615489c5faa
simplify word_count
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 03 Dec 2009 02:11:31 +0900 |
parents | 68f0253f5a71 |
children | d753b4f6b129 |
line wrap: on
line diff
--- a/example/word_count_test/ppe/Print.cc Thu Dec 03 01:16:34 2009 +0900 +++ b/example/word_count_test/ppe/Print.cc Thu Dec 03 02:11:31 2009 +0900 @@ -78,7 +78,7 @@ word_data[0] += flag_cal_sum; - for (int i = 0; i < status_num; i++) { + for (int i = status_num-1; i >= 0; i--) { s->printf("%llu ",word_data[i]); }