by@pizzacat83a
AC
700ms
give s p=substr(s,"T")while p{?s give t q=substr(t,"K")if q{?copy(" ",q-1)+copy("1",p-q+1)p=0}}
T K
T T T T T 111111111111111111
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff0aabdc90 /* 9 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55b5c5044d18 /* 9 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} --- 12 execve("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.ring"], 0x55b5c5044d38 /* 9 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} --- 14 execve("/root/ring", ["/root/ring", "/tmp/code.ring"], 0x55b5c5044d40 /* 9 vars */) = 0 13 execve("/bin/cat", ["cat", "-"], 0x55b5c5044d30 /* 9 vars */) = 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=0, si_stime=0} --- 14 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=1, si_stime=1} --- 15 execve("/bin/rm", ["rm", "/tmp/code.ring"], 0x55b5c5044c98 /* 9 vars */) = 0 15 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++