#include <stdio.h>\x0d \x0d \x0d \x0d int main(int argc,char** argv)\x0d {\x0d \x09for(char a='1',d[9],*p=d+1;gets(d);*p=a=a-*d?a-*p?a:*d:*p,puts(p));\x0d \x09return 0;\x0d }
Note that non-ascii characters in the above source code will be escaped (such as \x9f).