by@satos___jp
AC
738ms
import "io" for Stdin for (i in 0..31) { var s = Stdin.readLine().split(" ") var x = Num.fromString(s[0]) var y = Num.fromString(s[1]) System.print(x%100%11==0?x%10:(y-y%100)/100) }
344 544 475 263 168 662 218 884 186 265 639 221 799 957 844 184 245 544 226 343 344 431 847 478 322 774 177 337 899 996 699 893 922 746 292 223 988 886 795 582 843 418 518 615 959 979 717 911 149 447 955 816 285 584 918 193 718 551 164 745 456 977 423 231
4 2 6 8 2 2 9 4 5 3 4 4 2 7 9 9 2 2 8 5 4 6 9 9 4 5 5 1 5 7 9 2
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffdaa119d40 /* 9 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x558526ec7d30 /* 9 vars */ <unfinished ...> 12 execve("/root/wren", ["/root/wren", "/volume/CODE"], 0x558526ec7d40 /* 9 vars */ <unfinished ...> 11 <... execve resumed>) = 0 12 <... execve resumed>) = 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 +++