Result

AC

Duration

847ms

Code [DL]

. as$t|[inputs]as$i|($i[]|$t),($i[-1]+$t|sub(" "*50;"")|until(test("KT");sub("K ";"KK")))

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                          
  KKKKKKKKKKKKKKKKKKKKKT                          

stderr

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcdd5dba00 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x558fdf2aacf8 /* 7 vars */) = 0
11    +++ exited with 0 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=11, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    execve("/usr/bin/jq", ["/usr/bin/jq", "-rR", "-f", "/volume/CODE"], 0x558fe03c3e90 /* 7 vars */) = 0
12    +++ exited with 0 +++
10    --- 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 +++
10    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=3, si_stime=0} ---
10    +++ exited with 0 +++