by@cookies146
WA
main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);}
11100111 11100000 00001010 10001000 01001011 00000110 11111101 00110111 01010101 01100100 11100111 10101011 00100110 01111000 10111110 01001001 00100100 01101001 00110111 00000001 11000100 01001110 11000110 01110111 00101101 00100011 00111001 10101010 10000111 00011100 00011101 00000000 01101110 01001100 11010101 11110100 11010010 10100000 11000101 10011001 01000010 01011011 00001111 00000011 00111011 11111111 10000101 00010101 01001000 10000100
/tmp/code.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);} ^ /tmp/code.c: In function ‘main’: /tmp/code.c:1:1: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:1: warning: type of ‘a’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:17: warning: implicit declaration of function ‘putchar’ [-Wimplicit-function-declaration] main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);} ^ /tmp/code.c:1:37: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration] main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);} ^ /tmp/code.c:1:37: warning: incompatible implicit declaration of built-in function ‘sqrt’ /tmp/code.c:1:37: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’ /tmp/code.c:1:44: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration] main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);} ^ /tmp/code.c:1:51: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration] main(s,a){for(;;putchar(48+a*a/s))a=sqrt(s=strtol(gets(&s),0,2)*8+1);} ^ /tmp/ccoLDnls.o: In function `main': code.c:(.text.startup+0x2c): warning: the `gets' function is dangerous and should not be used. /home/esolang/bin/c-gcc: line 6: 13 Done cat - 14 Segmentation fault (core dumped) | /tmp/code