by@henkoudekimasu
AC
850ms
x=99;p *$<.map{x>(a=_1.to_i)?a/x=a:0}
48 98 22 73 21 16 27 31 47 38 90 53 17 58 40 78 82 81 13 71 44 74 41 84 54 75 88 80 28 87 93 39 25 30 60 10 49 19 96 97 29 65 94 20 89 14 79 18 83 72
1 0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdff75d420 /* 9 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x5644b8692d40 /* 9 vars */) = 0 12 execve("/usr/local/ruby-2.7.1/bin/ruby", ["/usr/local/ruby-2.7.1/bin/ruby", "/volume/CODE"], 0x5644b8692d60 /* 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 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=4, si_stime=2} --- 10 +++ exited with 0 +++