by@JP3BGY
TLE
2358ms
c;main(x){read(0,&c,1),main(putchar(c|x<1)&4?1:-~x%51-c%2*51);}
T K
T ! ! ! ! ! ! ! ! ! K!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
/tmp/code.c:1:1: warning: data definition has no type or storage class c;main(x){read(0,&c,1),main(putchar(c|x<1)&4?1:-~x%51-c%2*51);} ^ /tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] /tmp/code.c:1:3: warning: return type defaults to 'int' [-Wimplicit-int] c;main(x){read(0,&c,1),main(putchar(c|x<1)&4?1:-~x%51-c%2*51);} ^~~~ /tmp/code.c: In function 'main': /tmp/code.c:1:3: warning: type of 'x' defaults to 'int' [-Wimplicit-int] /tmp/code.c:1:11: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] c;main(x){read(0,&c,1),main(putchar(c|x<1)&4?1:-~x%51-c%2*51);} ^~~~ /tmp/code.c:1:29: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration] c;main(x){read(0,&c,1),main(putchar(c|x<1)&4?1:-~x%51-c%2*51);} ^~~~~~~ /tmp/code.c:1:40: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] c;main(x){read(0,&c,1),main(putchar(c|x<1)&4?1:-~x%51-c%2*51);} ~^~ Segmentation fault (core dumped)