by@syobon_hinata
WA
555ms
(""+require('fs').readFileSync(0)).split` `.map(a=>console.log(+/01/.test(a+a)))
2301 1032 0321 2301 0123 1032 2103 2301 1230 3012 3210 0123 0321 2103 3210 3210 2301 3012 1230 0123 1032 0123 0321 1032 1032 0321 3210 3210 1230 3012 1032 3210
1 0 0 1 1 0 0 1 1 1 0 1 0 0 0 0 1 1 1 1 0 1 0 0 0 0 0 0 1 1 0 0 0
13 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffab7bb6a8 /* 7 vars */) = 0 15 execve("/usr/bin/node", ["/usr/bin/node", "/volume/CODE"], 0x7f914ad18240 /* 7 vars */ <unfinished ...> 14 execve("/bin/cat", ["cat", "-"], 0x7f914ad18230 /* 7 vars */) = 0 15 <... execve resumed>) = 0 14 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 18 +++ exited with 0 +++ 20 +++ exited with 0 +++ 17 +++ exited with 0 +++ 16 +++ exited with 0 +++ 19 +++ exited with 0 +++ 21 +++ exited with 0 +++ 15 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=4, si_stime=1} --- 13 +++ exited with 0 +++