by@taiyoslime
AC
1653ms
package main import."fmt" func main(){var s,t string;var i=0;for i<32{Scan(&s, &t);if s[1]==s[2]{Print(s[2]-48)}else{Print(t[0]-48)};i++}}
362 562 741 185 855 548 868 884 943 346 715 367 551 716 576 993 531 382 629 294 735 136 374 643 366 559 544 751 987 115 522 949 822 229 231 474 919 969 997 351 284 843 744 144 696 922 355 351 529 996 246 456 299 994 955 572 692 298 522 775 258 553 174 776
51583379321664122493849594952257
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff34abb620 /* 7 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55fb17b62d18 /* 7 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", "-sf", "/volume/CODE", "/tmp/code.go"], 0x55fb17b62d38 /* 7 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("/usr/bin/go", ["/usr/bin/go", "build", "-o", "/tmp/code", "/tmp/code.go"], 0x55fb19420028 /* 7 vars */) = 0 20 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000146270 /* 25 vars */) = 0 21 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00012dba0 /* 25 vars */) = 0 24 +++ exited with 0 +++ 25 +++ exited with 0 +++ 23 +++ exited with 0 +++ 22 +++ exited with 0 +++ 20 +++ exited with 0 +++ 19 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 26 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0001464e0 /* 25 vars */) = 0 30 +++ exited with 0 +++ 29 +++ exited with 0 +++ 28 +++ exited with 0 +++ 27 +++ exited with 0 +++ 21 +++ exited with 0 +++ 31 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 32 +++ exited with 0 +++ 33 +++ exited with 0 +++ 34 +++ exited with 0 +++ 35 +++ exited with 0 +++ 26 +++ exited with 0 +++ 15 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=26, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 36 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00012de10 /* 25 vars */) = 0 39 +++ exited with 0 +++ 38 +++ exited with 0 +++ 40 +++ exited with 0 +++ 37 +++ exited with 0 +++ 36 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=36, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 41 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build455960285/b001/_pkg"..., "-trimpath", "/tmp/go-build455960285/b001=>", "-p", "main", "-complete", "-buildid", "Z2KrLIAGGhPyVTonr0SZ/Z2KrLIAGGhP"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build455960285/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc00047a410 /* 25 vars */) = 0 45 +++ exited with 0 +++ 43 +++ exited with 0 +++ 44 +++ exited with 0 +++ 42 +++ exited with 0 +++ 41 +++ exited with 0 +++ 19 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=1, si_stime=0} --- 46 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00038e270 /* 25 vars */) = 0 49 +++ exited with 0 +++ 48 +++ exited with 0 +++ 50 +++ exited with 0 +++ 47 +++ exited with 0 +++ 46 +++ exited with 0 +++ 19 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=46, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 51 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build455960285/b001/exe/"..., "-importcfg", "/tmp/go-build455960285/b001/impo"..., "-buildmode=exe", "-buildid=w2Q05yqfk2VRpXgzpaV5/Z2"..., "-extld=gcc", "/tmp/go-build455960285/b001/_pkg"...], 0xc00038e750 /* 25 vars */) = 0 55 +++ exited with 0 +++ 54 +++ exited with 0 +++ 53 +++ exited with 0 +++ 52 +++ exited with 0 +++ 51 +++ exited with 0 +++ 31 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=51, si_uid=0, si_status=0, si_utime=18, si_stime=7} --- 31 +++ exited with 0 +++ 19 +++ exited with 0 +++ 18 +++ exited with 0 +++ 17 +++ exited with 0 +++ 14 +++ exited with 0 +++ 16 +++ exited with 0 +++ 15 +++ exited with 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=2, si_stime=16} --- 56 execve("/bin/cat", ["cat", "-"], 0x55fb17b62d08 /* 7 vars */) = 0 57 execve("/tmp/code", ["/tmp/code"], 0x55fb17b62cf0 /* 7 vars */) = 0 56 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=56, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 60 +++ exited with 0 +++ 59 +++ exited with 0 +++ 58 +++ exited with 0 +++ 57 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=57, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 61 execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x55fb17b62cf0 /* 7 vars */) = 0 61 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=61, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++