Result

WA

Duration

752ms

Code [DL]

x,*b,c=*$<;c[?K]=?a*99;puts x*-~b.size,c[0..~/T/]

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                                
              aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa                                   

stderr

strace