09/02/05 21:03:57
>>312
#include<stdio.h>
#include<string.h>
int main(void){
int c, i;
char history[4*2]="";
for(i=0;(c=getchar())!=EOF;i++){
history[i%4]=history[(i%4)+4]=c;
printf("%c", c);
if(strncmp(&history[(i+1)%4], "tion", 4)==0) break;
}
return 0;
}