binary increment by masa.sd

char c[];main(i){for(;gets(c);puts(c))for(i=strlen(c);(c[--i]^=1)==48;);}

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

download

return to the top page