binary increment by Tommy6

char a[99];main(n){for(;gets(a);puts(a))for(n=strlen(a);--n*!((a[n]^=1)&1););}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page