Result

AC

Duration

7267ms

Code [DL]

IFS=
f(){
read -N1 x
x=`printf %o \'$x`
printf \\$[1/(~a&5),i=i%51+1,a=c[i]|=x|a&1]
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     
                                            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/(~a&5),i=i%51+1,a=c[i]|=x|a&1: division by 0 (error token is "(~a&5),i=i%51+1,a=c[i]|=x|a&1")

strace