Result

AC

Duration

1219ms

Code [DL]

0vv o*48+1<
 >>i'T'=?v^
vo*25o*88<
>i25*=?v
v      <
>:>:0=  ?vi'K'=?vv
  ^       o*84-1 <
 vv?=*25i<
 >       ^
  >~88 v
^o*25o*<
v             +1<
>:0=?;1v
^ o*88-<

stdin

             T                                    
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
         K                                        

stdout

             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
             @
         @@@@@

stderr

strace