by@satos___jp
AC
792ms
import"io"for Stdin for(s in 0..31){ s=Stdin.readLine() System.print(s[s[1]==s[2]?1:4]) }
652 723 598 983 355 559 142 485 799 119 144 469 648 811 267 772 188 939 459 767 712 993 559 267 265 521 244 343 576 715 125 853 574 448 341 412 957 553 211 447 633 358 175 598 945 447 835 664 134 131 255 416 878 878 628 823 597 311 455 552 572 871 822 627
7 9 5 4 9 4 8 7 8 7 9 2 5 4 7 8 4 4 5 1 3 5 4 6 1 5 8 8 3 5 8 2
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe9db87170 /* 9 vars */) = 0 12 execve("/root/wren", ["/root/wren", "/volume/CODE"], 0x5616c7f3dd40 /* 9 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x5616c7f3dd30 /* 9 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 +++ 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} --- 10 +++ exited with 0 +++