百度之星程序设计大赛 G题 水啊!显示字符串

View Code
 1 #include<stdio.h>
 2 #include<string.h> 
 3 #include<stdlib.h>
 4 
 5 char s[1000]; 
 6 int main()
 7 {
 8     int i,len;
 9     
10    while( gets(s) )
11    { 
12      printf("%s\n",s); 
13    } 
14      
15    return 0;
16 }    
posted @ 2012-05-31 19:29  zhongya  阅读(77)  评论(0编辑  收藏  举报