by@syobon_hinata
AC
498ms
\newcount\m \newcount\i \m=100 \loop \ifnum \i<50 \read0to\a \immediate\write16{\ifnum\a>\m 0\else1\fi} \ifnum\a<\m\m=\a\fi \advance\i1 \repeat\end
53 31 89 47 86 75 65 55 96 22 13 91 95 52 19 18 92 73 25 10 16 29 79 44 39 42 84 27 51 94 50 48 98 76 38 59 20 66 58 46 45 90 72 15 62 34 11 40 82 37
1 1 0 0 0 0 0 0 0 1 1 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 0
13 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc4d28bed8 /* 6 vars */) = 0 14 execve("/bin/cat", ["cat", "-"], 0x559dfc86cc00 /* 6 vars */) = 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} --- 15 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 16 execve("/bin/cat", ["cat", "-", "/volume/CODE"], 0x559dfe7b35f0 /* 6 vars */) = 0 16 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 18 execve("/bin/sed", ["sed", "-e", "1,2d"], 0x559dfe7b38b8 /* 7 vars */ <unfinished ...> 17 execve("/usr/local/texlive/2020/bin/x86_64-linux/tex", ["/usr/local/texlive/2020/bin/x86_"..., "code.tex"], 0x559dfe7b3888 /* 7 vars */ <unfinished ...> 21 execve("/bin/sed", ["sed", "-e", "$d"], 0x559dfe7b38b8 /* 7 vars */ <unfinished ...> 19 execve("/bin/sed", ["sed", "-e", "$d"], 0x559dfe7b38b8 /* 7 vars */) = 0 20 execve("/bin/sed", ["sed", "-e", "$d"], 0x559dfe7b38b8 /* 7 vars */ <unfinished ...> 21 <... execve resumed>) = 0 18 <... execve resumed>) = 0 20 <... execve resumed>) = 0 17 <... execve resumed>) = 0 17 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=17, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 19 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 18 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=18, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 20 +++ exited with 0 +++ 21 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 22 execve("/bin/rm", ["rm", "-f", "code.log", "code.dvi", "code.tex", "stdin.tex"], 0x559dfe7b3658 /* 7 vars */) = 0 22 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 13 +++ exited with 0 +++