Result

AC

Duration

1698ms

Code [DL]

0vv o*48+1<
 >>i'T'=?v^

vo*25o*88<
>i25*=?v
v      <
>:>:0=  ?vi'K'=?v1-48*ov
  ^                    <

 vv?=*25i<
 >       ^
  >~88*o25*ov
^           <
v             +1<
>:0=?;1-88*ov
^           <

stdin

                                          T       
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                    K                             

stdout

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

stderr

strace