Mercurial > hg > Game > Cerium
diff example/Prime/ppe/PrintTask.cc @ 1248:d2f70da2aa19 draft
merge
author | Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 12 Nov 2011 15:32:41 +0900 |
parents | 9df036b11eae |
children | 24d323dfebea |
line wrap: on
line diff
--- a/example/Prime/ppe/PrintTask.cc Sat Nov 12 15:28:14 2011 +0900 +++ b/example/Prime/ppe/PrintTask.cc Sat Nov 12 15:32:41 2011 +0900 @@ -23,9 +23,8 @@ /* 素数の判定結果が1ならば出力する */ for (long i = 0; i < length; i++) { if ( input[i] == true ) { - printf("%ld ",i); + printf("%ld\n",i); } } - printf("\n"); return 0; }