by@n4o847
AC
739ms
x;main(c){for(;~(c=getchar());)putchar(c|=c&4?x=0:(x=++x%51-c%2*51)<1);} T
K
T
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
K!!!!!!!!!!!!!!
/tmp/code.c:1:1: warning: data definition has no type or storage class
x;main(c){for(;~(c=getchar());)putchar(c|=c&4?x=0:(x=++x%51-c%2*51)<1);}
^
/tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
/tmp/code.c:1:3: warning: return type defaults to 'int' [-Wimplicit-int]
x;main(c){for(;~(c=getchar());)putchar(c|=c&4?x=0:(x=++x%51-c%2*51)<1);}
^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:3: warning: type of 'c' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:20: warning: implicit declaration of function 'getchar' [-Wimplicit-function-declaration]
x;main(c){for(;~(c=getchar());)putchar(c|=c&4?x=0:(x=++x%51-c%2*51)<1);}
^~~~~~~
/tmp/code.c:1:20: note: 'getchar' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?
+#include <stdio.h>
x;main(c){for(;~(c=getchar());)putchar(c|=c&4?x=0:(x=++x%51-c%2*51)<1);}
^~~~~~~
/tmp/code.c:1:32: warning: implicit declaration of function 'putchar' [-Wimplicit-function-declaration]
x;main(c){for(;~(c=getchar());)putchar(c|=c&4?x=0:(x=++x%51-c%2*51)<1);}
^~~~~~~
/tmp/code.c:1:53: warning: operation on 'x' may be undefined [-Wsequence-point]
x;main(c){for(;~(c=getchar());)putchar(c|=c&4?x=0:(x=++x%51-c%2*51)<1);}
~~^~~~~~~~~~~~~~~