Result

WA

Duration

800ms

Code [DL]

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

stdin

                                          T       
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                               K                  

stdout

stderr

<internal:golf_prelude>:4: warning: redefining Object#method_missing may cause infinite loop
<internal:golf_prelude>:12:in `!~': wrong number of arguments (given 0, expected 1) (ArgumentError)
	from <internal:golf_prelude>:12:in `method_missing'
	from /volume/CODE:1:in `<main>'

strace