by@akouryy1
WA
i;main(n,x){for(;1;printf("%d",!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);}
01001110 01011011 11100111 00010001 00000110 00000011 10111110 00000000 11011110 10001000 00110111 00011100 11001011 10010010 11111110 01101101 00000110 01010101 01011101 10101011 00100100 00001010 10011111 00110111 01110111 01100111 11001111 10010001 10011001 10011100 00011001 10010100 00010000 11110011 01101001 00001111 01111000 10101100 11101111 00101101 00100010 11111010 11011011 11111101 11010010 01000010 01101000 00000001 10110000 00010101
/tmp/code.c:1:1: warning: data definition has no type or storage class i;main(n,x){for(;1;printf("%d",!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);} ^ /tmp/code.c:1:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] /tmp/code.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int] i;main(n,x){for(;1;printf("%d",!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);} ^ /tmp/code.c: In function ‘main’: /tmp/code.c:1:3: warning: type of ‘n’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:3: warning: type of ‘x’ defaults to ‘int’ [-Wimplicit-int] /tmp/code.c:1:20: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] i;main(n,x){for(;1;printf("%d",!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);} ^ /tmp/code.c:1:20: warning: incompatible implicit declaration of built-in function ‘printf’ /tmp/code.c:1:20: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ /tmp/code.c:1:42: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration] i;main(n,x){for(;1;printf("%d",!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);} ^ /tmp/code.c:1:51: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration] i;main(n,x){for(;1;printf("%d",!n))for(n=strtol(x=gets(&n),i=0,2);n>0;n-=i++);} ^ /tmp/ccXmVPpn.o: In function `main': code.c:(.text.startup+0x22): 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