by@dnek_
AC
651ms
(''+require(x='fs').readFileSync(0)).trim().split`
`.map(a=>console.log(a<x&&(x=a)?1:0))45 16 73 98 40 43 28 72 64 99 96 18 44 49 52 17 24 80 37 67 12 97 48 39 78 77 63 19 25 65 84 62 57 69 50 36 79 75 74 46 61 47 76 27 38 71 81 56 22 41
1 1 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
14 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff69d75708 /* 7 vars */) = 0
15 execve("/bin/cat", ["cat", "-"], 0x7f409fce2230 /* 7 vars */ <unfinished ...>
16 execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x7f409fce2240 /* 7 vars */ <unfinished ...>
15 <... execve resumed>) = 0
16 <... execve resumed>) = 0
15 +++ exited with 0 +++
14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
19 +++ exited with 0 +++
21 +++ exited with 0 +++
17 +++ exited with 0 +++
20 +++ exited with 0 +++
18 +++ exited with 0 +++
22 +++ exited with 0 +++
16 +++ exited with 0 +++
14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=5, si_stime=2} ---
14 +++ exited with 0 +++