by@nakario_jp
AC
1659ms
package main import(b "bufio" "os" f "fmt") func main(){ s:=b.NewScanner(os.Stdin) for i:=0;i<32;i++{ s.Scan() s:=s.Text() if s[1]==s[2]{ f.Print(s[2]-'0') }else{ f.Print(s[4]-'0') }}}
266 278 877 773 792 123 944 335 422 223 698 173 564 442 352 524 144 475 766 699 655 646 283 188 716 332 643 115 633 736 669 692 365 561 578 399 846 625 911 911 675 775 316 616 859 553 167 974 479 349 815 557 873 746 388 447 146 427 519 946 712 386 376 879
67142145465131365361765935784938
11 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd45379ab0 /* 7 vars */) = 0 12 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x5594c3d08d18 /* 7 vars */) = 0 12 +++ exited with 0 +++ 11 --- 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("/bin/ln", ["ln", "-sf", "/volume/CODE", "/tmp/code.go"], 0x5594c3d08d38 /* 7 vars */) = 0 13 +++ exited with 0 +++ 11 --- 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("/usr/bin/go", ["/usr/bin/go", "build", "-o", "/tmp/code", "/tmp/code.go"], 0x5594c4bb7028 /* 7 vars */) = 0 21 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00013f930 /* 25 vars */) = 0 22 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00014c1a0 /* 25 vars */) = 0 27 +++ exited with 0 +++ 26 +++ exited with 0 +++ 28 +++ exited with 0 +++ 25 +++ exited with 0 +++ 21 +++ exited with 0 +++ 14 --- 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 +++ 31 +++ exited with 0 +++ 33 +++ exited with 0 +++ 30 +++ exited with 0 +++ 22 +++ exited with 0 +++ 14 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 29 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00014c410 /* 25 vars */) = 0 34 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc00013fad0 /* 25 vars */) = 0 35 +++ exited with 0 +++ 36 +++ exited with 0 +++ 38 +++ exited with 0 +++ 37 +++ exited with 0 +++ 29 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=29, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 40 +++ exited with 0 +++ 41 +++ exited with 0 +++ 39 +++ exited with 0 +++ 34 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=34, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 42 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build253058926/b001/_pkg"..., "-trimpath", "/tmp/go-build253058926/b001=>", "-p", "main", "-complete", "-buildid", "X4xCICV4GcTfR74Qx52_/X4xCICV4GcT"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build253058926/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc000396410 /* 25 vars */) = 0 43 +++ exited with 0 +++ 44 +++ exited with 0 +++ 46 +++ exited with 0 +++ 45 +++ exited with 0 +++ 42 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=42, si_uid=0, si_status=0, si_utime=1, si_stime=1} --- 47 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000396750 /* 25 vars */) = 0 50 +++ exited with 0 +++ 49 +++ exited with 0 +++ 48 +++ exited with 0 +++ 51 +++ exited with 0 +++ 47 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=47, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 52 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build253058926/b001/exe/"..., "-importcfg", "/tmp/go-build253058926/b001/impo"..., "-buildmode=exe", "-buildid=OzHY5ORbml4eu3GZrLBI/X4"..., "-extld=gcc", "/tmp/go-build253058926/b001/_pkg"...], 0xc000396c30 /* 25 vars */) = 0 55 +++ exited with 0 +++ 56 +++ exited with 0 +++ 54 +++ exited with 0 +++ 53 +++ exited with 0 +++ 52 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=52, si_uid=0, si_status=0, si_utime=20, si_stime=4} --- 24 +++ exited with 0 +++ 23 +++ exited with 0 +++ 20 +++ exited with 0 +++ 19 +++ exited with 0 +++ 18 +++ exited with 0 +++ 17 +++ exited with 0 +++ 16 +++ exited with 0 +++ 15 +++ exited with 0 +++ 14 +++ exited with 0 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=9, si_stime=10} --- 57 execve("/bin/cat", ["cat", "-"], 0x5594c3d08d08 /* 7 vars */ <unfinished ...> 58 execve("/tmp/code", ["/tmp/code"], 0x5594c3d08cf0 /* 7 vars */ <unfinished ...> 57 <... execve resumed>) = 0 58 <... execve resumed>) = 0 57 +++ exited with 0 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=57, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 60 +++ exited with 0 +++ 61 +++ exited with 0 +++ 62 +++ exited with 0 +++ 59 +++ exited with 0 +++ 58 +++ exited with 0 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=58, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 63 execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x5594c3d08cf0 /* 7 vars */) = 0 63 +++ exited with 0 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=63, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 11 +++ exited with 0 +++