摘要:
不重复地输出升序数组中的元素。1 void outputUnique( char []str, int n) {2 if (n <= 0 ) return ;3 elseif(n == 1 )putchar(str[ 0 ]);4 else {5 int i = 0 ,j = 1 ;6 putchar(str[ 0 ]);7 while (j < n) {8 if (str[j... 阅读全文
posted @ 2006-06-17 08:54
GwQ
阅读(1143)
评论(0)
推荐(1)