by@nakario_jp
WA
1568ms
package main import (b "bufio" "os") func main(){ s:=b.NewScanner(os.Stdin) for i:=0;i<32;i++{ s.Scan() s:=s.Text() if s[1]==s[2]{ print(s[2]-'0') }else{ print(s[4]-'0') }}}
873 936 351 198 283 399 981 112 728 363 166 177 657 158 399 663 998 441 281 119 414 414 369 294 873 774 258 551 811 819 282 288 155 441 383 872 432 323 522 263 729 622 231 669 977 412 163 868 699 994 339 721 933 339 747 157 611 122 521 251 799 395 865 652
91313619414275125832667897311296
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fffcf529dc0 /* 7 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55ac87b62d18 /* 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"], 0x55ac87b62d38 /* 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"], 0x55ac8832c028 /* 7 vars */) = 0 19 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0003068f0 /* 25 vars */) = 0 20 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000312dd0 /* 25 vars */) = 0 22 +++ exited with 0 +++ 21 +++ exited with 0 +++ 23 +++ exited with 0 +++ 24 +++ exited with 0 +++ 19 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=19, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 25 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000306a90 /* 25 vars */) = 0 29 +++ exited with 0 +++ 31 +++ exited with 0 +++ 28 +++ exited with 0 +++ 30 +++ exited with 0 +++ 20 +++ exited with 0 +++ 27 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 32 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000306c30 /* 25 vars */) = 0 34 +++ exited with 0 +++ 35 +++ exited with 0 +++ 33 +++ exited with 0 +++ 36 +++ exited with 0 +++ 25 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=25, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 37 +++ exited with 0 +++ 38 +++ exited with 0 +++ 39 +++ exited with 0 +++ 40 +++ exited with 0 +++ 32 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32, 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-build759299198/b001/_pkg"..., "-trimpath", "/tmp/go-build759299198/b001=>", "-p", "main", "-complete", "-buildid", "_CKwxm_FENNwyBny8EIf/_CKwxm_FENN"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build759299198/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc0003f44e0 /* 25 vars */) = 0 42 +++ exited with 0 +++ 43 +++ exited with 0 +++ 45 +++ exited with 0 +++ 44 +++ exited with 0 +++ 41 +++ exited with 0 +++ 15 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 46 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000100340 /* 25 vars */) = 0 48 +++ exited with 0 +++ 47 +++ exited with 0 +++ 50 +++ exited with 0 +++ 49 +++ exited with 0 +++ 46 +++ exited with 0 +++ 26 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=46, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 51 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build759299198/b001/exe/"..., "-importcfg", "/tmp/go-build759299198/b001/impo"..., "-buildmode=exe", "-buildid=s-t10UESiqXo3B8grpTB/_C"..., "-extld=gcc", "/tmp/go-build759299198/b001/_pkg"...], 0xc0003f48f0 /* 25 vars */) = 0 52 +++ exited with 0 +++ 55 +++ exited with 0 +++ 53 +++ exited with 0 +++ 54 +++ exited with 0 +++ 51 +++ exited with 0 +++ 26 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=51, si_uid=0, si_status=0, si_utime=16, si_stime=4} --- 27 +++ exited with 0 +++ 26 +++ exited with 0 +++ 18 +++ exited with 0 +++ 17 +++ exited with 0 +++ 16 +++ exited with 0 +++ 15 +++ exited with 0 +++ 14 +++ 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=3, si_stime=12} --- 56 execve("/bin/cat", ["cat", "-"], 0x55ac87b62d08 /* 7 vars */ <unfinished ...> 57 execve("/tmp/code", ["/tmp/code"], 0x55ac87b62cf0 /* 7 vars */ <unfinished ...> 56 <... execve resumed>) = 0 57 <... execve resumed>) = 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} --- 58 +++ exited with 0 +++ 61 +++ exited with 0 +++ 59 +++ exited with 0 +++ 60 +++ 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} --- 62 execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x55ac87b62cf0 /* 7 vars */) = 0 62 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=62, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++