Result

AC

Duration

4364ms

Code [DL]

IFS=
f(){
read -n1 x
x=`printf %o \'$x`
printf \\$[1/(~c[i]&5),i=i%51+1,x?a=c[i]|=x|a&1:12]
f
}
f

stdin

                                        T         
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
          K                                       

stdout

                                        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

stderr

/code.bash: line 5: 1/(~c[i]&5),i=i%51+1,x?a=c[i]|=x|a&1:12: division by 0 (error token is "(~c[i]&5),i=i%51+1,x?a=c[i]|=x|a&1:12")

strace