by@cookies146
WA
main(s,a){for(;gets(&s);puts("01"+a*a/s))a=sqrt(s=strtol(&s,0,2)*8+1);}
10101011 11001111 00011100 00000011 00000000 10011001 01000010 10110100 00110111 10011110 11000000 11010111 10110010 11111011 11000110 11100111 11000100 11111101 10011111 00000001 00100100 01111000 01011011 10100000 11001101 11001010 11010110 01000111 01100011 00000001 01001110 01111100 10101001 01111011 00001111 00101101 11010010 00111000 00010101 11101001 11011100 10001111 11100001 10111110 00001010 01001100 00000110 10001000 00000110 01101001
1 01 1 1 1 1 1 01 1 01 01 01 01 01 01 1 01 1 01 1 1 1 1 01 01 01 01 01 01 1 1 01 01 01 1 1 1 01 1 01 01 01 01 1 1 01 1 1 1 1
/tmp/code.c:1:1: warning: return type defaults to ‘int’ [-Wimplicit-int] main(s,a){for(;gets(&s);puts("01"+a*a/s))a=sqrt(s=strtol(&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:16: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration] main(s,a){for(;gets(&s);puts("01"+a*a/s))a=sqrt(s=strtol(&s,0,2)*8+1);} ^ /tmp/code.c:1:25: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration] main(s,a){for(;gets(&s);puts("01"+a*a/s))a=sqrt(s=strtol(&s,0,2)*8+1);} ^ /tmp/code.c:1:44: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration] main(s,a){for(;gets(&s);puts("01"+a*a/s))a=sqrt(s=strtol(&s,0,2)*8+1);} ^ /tmp/code.c:1:44: warning: incompatible implicit declaration of built-in function ‘sqrt’ /tmp/code.c:1:44: note: include ‘<math.h>’ or provide a declaration of ‘sqrt’ /tmp/code.c:1:51: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration] main(s,a){for(;gets(&s);puts("01"+a*a/s))a=sqrt(s=strtol(&s,0,2)*8+1);} ^ /tmp/ccx2lp06.o: In function `main': code.c:(.text.startup+0x62): warning: the `gets' function is dangerous and should not be used.