char*t,*u,s[99];main(){for(;strtok(gets(s)," ");puts(s))for(;u=strtok(0," ");)for(t=s;*t=*(*t-*u?*t-*(u+1)?t:u:u+1);++t);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page