char*p,*q;main(c,A){for(;gets(A);puts(A))for(;p<A?p=q=strtok(!p*A," "):1;)*p^=*q^q[*--p==q[*p!=*q]];}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page