Result

AC

Duration

708ms

Code [DL]

[inputs|gsub("K +$";"K")]as$i|"\(.)
"*($i|length)+$i[-1]+"@"*((.|index("T"))-($i[-1]|length)+1)

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                      
                           T                      
                           T                      
                           T                      
                           T                      
                           T                      
    K@@@@@@@@@@@@@@@@@@@@@@@

stderr

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdd39cc5e0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55e419d8dcf8 /* 7 vars */) = 0
12    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
14    execve("/usr/bin/jq", ["/usr/bin/jq", "-rR", "-f", "/volume/CODE"], 0x55e41a53e130 /* 7 vars */) = 0
14    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=4, si_stime=0} ---
11    +++ exited with 0 +++