by@kurgm
WA
685ms
z=48;main(i){for(;i++<101;)puts(z^=getc()%2);}
1010110100010000001010101000011110000111111111100001111010111001011010111001111100111001111001011000
/tmp/code.c:1:1: warning: data definition has no type or storage class z=48;main(i){for(;i++<101;)puts(z^=getc()%2);} ^ /tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'z' [-Wimplicit-int] /tmp/code.c:1:6: warning: return type defaults to 'int' [-Wimplicit-int] z=48;main(i){for(;i++<101;)puts(z^=getc()%2);} ^~~~ /tmp/code.c: In function 'main': /tmp/code.c:1:6: warning: type of 'i' defaults to 'int' [-Wimplicit-int] /tmp/code.c:1:28: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration] z=48;main(i){for(;i++<101;)puts(z^=getc()%2);} ^~~~ /tmp/code.c:1:36: warning: implicit declaration of function 'getc' [-Wimplicit-function-declaration] z=48;main(i){for(;i++<101;)puts(z^=getc()%2);} ^~~~ Segmentation fault (core dumped)