by@akouryy1
AC
5588ms
IFS=
f(){
read -N1 x
printf \\$[1/(~a&5),a=c[i=i%51+1]|=`printf %o \'$x`|a&1]
f
}
f T
K
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
T
Q!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!U/code.bash: line 4: 1/(~a&5),a=c[i=i%51+1]|=40|a&1: division by 0 (error token is "(~a&5),a=c[i=i%51+1]|=40|a&1")