by@hakatashi
WA
2572ms
j=99;console.log((""+require("fs").readFileSync(0)).split('\n').map(i=>parseInt(i)).map(n=>j>n?(j=n,1):0).join(''))
89 17 74 27 52 70 41 83 16 11 80 10 53 13 24 62 20 69 87 75 43 67 37 60 32 14 34 31 21 39 77 42 86 46 79 55 38 90 36 98 23 22 93 33 40 15 19 95 25 48
110000001101000000000000000000000000000000000000000
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff10ee9d80 /* 7 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x56371d522d30 /* 7 vars */) = 0 12 execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x56371d522d40 /* 7 vars */ <unfinished ...> 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 resumed>) = 0 15 +++ exited with 0 +++ 17 +++ exited with 0 +++ 16 +++ exited with 0 +++ 14 +++ exited with 0 +++ 13 +++ exited with 0 +++ 18 +++ exited with 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=6, si_stime=3} --- 10 +++ exited with 0 +++