Result

WA

Duration

684ms

Code [DL]

{؛1+()ɹɐɥɔʇǝƃ=X((0:,0,+W/X¿W⅋X)ɹɐɥɔʇnd؛X=W؛)ɹoɟ}(W'X)uıɐɯ

Disassembly

main(X,M){for(;M=X;putchar(X&M?X/M+'0':0))X=getchar()+1;}

stdin

30123456789781748382695915849458256054719386154526320340789198765432104828091438560394952379275769867

stdout

01111111110101010101101011010110110101010100101010001101110100000000011010101010101101001110101010010

stderr

/tmp/code.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(X,M){for(;M=X;putchar(X&M?X/M+'0':0))X=getchar()+1;}
 ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:1: warning: type of 'X' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:1: warning: type of 'M' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:1: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/tmp/code.c:1:20: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
 main(X,M){for(;M=X;putchar(X&M?X/M+'0':0))X=getchar()+1;}
                    ^~~~~~~
/tmp/code.c:1:45: warning: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
 main(X,M){for(;M=X;putchar(X&M?X/M+'0':0))X=getchar()+1;}
                                             ^~~~~~~

strace