by@_hiromi_mi
AC
2066ms
(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](z)))
644 945 377 991 965 962 873 639 932 278 914 443 364 834 622 154 664 662 943 427 536 633 811 118 738 581 469 678 544 941 488 834 635 358 957 755 469 447 963 867 377 557 325 598 273 626 991 115 223 883 988 894 213 131 566 661 144 315 392 823 445 443 428 429
47962482646156483748756188164844
egison: <stdin>: hGetLine: end of file
12 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcaedac940 /* 6 vars */) = 0 13 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x564ed86b6c00 /* 6 vars */) = 0 13 +++ exited with 0 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 14 execve("/bin/ln", ["ln", "-s", "/volume/CODE", "/tmp/code.segi"], 0x564ed86b6c20 /* 6 vars */) = 0 14 +++ exited with 0 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 15 execve("/bin/cat", ["cat", "-"], 0x564ed86b6c18 /* 6 vars */ <unfinished ...> 16 execve("/usr/bin/egison", ["/usr/bin/egison", "/tmp/code.segi"], 0x564ed86b6c28 /* 6 vars */ <unfinished ...> 15 <... execve resumed> ) = 0 16 <... execve resumed> ) = 0 15 +++ exited with 0 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 20 +++ exited with 0 +++ 18 +++ exited with 0 +++ 19 +++ exited with 0 +++ 17 +++ exited with 0 +++ 16 +++ exited with 1 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16, si_uid=0, si_status=1, si_utime=57, si_stime=16} --- 21 execve("/bin/rm", ["rm", "-f", "/tmp/code.segi"], 0x564ed86b6bc0 /* 6 vars */) = 0 21 +++ exited with 0 +++ 12 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 12 +++ exited with 0 +++