07/09/29 07:39:15
>>474
#include<stdio.h>
int main(void)
{
char buf[1000];
FILE *fp=stdin;
int is_top=1;
while(1)
{
if(fscanf(fp, "%[^ \t\n]", buf)==1){
if(!is_top) printf("%s\n", buf);
is_top=0;
}
else if(fscanf(fp, "%[ \t]", buf)==1)
{
}
else if(fscanf(fp, "%1[\n]", buf)==1)
{
is_top=1;
}
else
{
break;
}
}
return 0;
}