by@kotatsugame_t
AC
1758ms
(define$z(lambda[](do{(let{[$x(unpack(io(read-line)))]}(writeChar(nth(if(equal(nth 2 x)(nth 3 x))2 5)x)))} (z))))(define$main(lambda[$a](do{[(z)]}[])))
793 255 354 786 263 528 756 631 912 215 786 818 825 259 943 221 458 578 132 233 647 449 885 816 139 997 522 724 611 388 266 681 588 223 542 296 446 664 822 558 688 688 743 932 544 446 291 898 512 558 122 226 116 169 763 531 713 116 954 352 866 945 722 234
27562822524892168262894852151362
egison: <stdin>: hGetLine: end of file
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffffeb73280 /* 6 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x560a576b2c00 /* 6 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 execve("/bin/ln", ["ln", "-s", "/volume/CODE", "/tmp/code.segi"], 0x560a576b2c20 /* 6 vars */) = 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=0, si_stime=0} --- 13 execve("/bin/cat", ["cat", "-"], 0x560a576b2c18 /* 6 vars */ <unfinished ...> 14 execve("/usr/bin/egison", ["/usr/bin/egison", "/tmp/code.segi"], 0x560a576b2c28 /* 6 vars */ <unfinished ...> 13 <... execve resumed> ) = 0 14 <... execve resumed> ) = 0 13 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 16 +++ exited with 0 +++ 18 +++ exited with 0 +++ 17 +++ exited with 0 +++ 15 +++ exited with 0 +++ 14 +++ exited with 1 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=1, si_utime=55, si_stime=27} --- 19 execve("/bin/rm", ["rm", "-f", "/tmp/code.segi"], 0x560a576b2bc0 /* 6 vars */) = 0 19 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++