by@nakario_jp
AC
1530ms
package main import f "fmt" func main(){ for i:=0;i<32;i++{ var a,b string f.Scan(&a,&b) if a[1]==a[2]{ f.Print(a[2]-'0') }else{ f.Print(b[0]-'0') }}}
626 363 633 839 837 944 819 163 388 997 895 597 563 963 329 526 959 998 739 991 244 648 495 997 467 887 955 553 731 665 386 889 371 182 831 412 425 258 788 859 535 175 399 914 749 932 435 353 917 877 141 726 166 834 672 275 488 886 964 618 344 387 233 442
33918595994985681428199387628643
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd08225960 /* 7 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x55e4db9ddd18 /* 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"], 0x55e4db9ddd38 /* 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"], 0x55e4dce0f028 /* 7 vars */) = 0 21 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000137ad0 /* 25 vars */) = 0 22 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0004808f0 /* 25 vars */) = 0 25 +++ exited with 0 +++ 27 +++ exited with 0 +++ 29 +++ exited with 0 +++ 31 +++ exited with 0 +++ 21 +++ exited with 0 +++ 19 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 30 +++ exited with 0 +++ 28 +++ exited with 0 +++ 26 +++ exited with 0 +++ 24 +++ exited with 0 +++ 22 +++ exited with 0 +++ 23 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=22, 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"], 0xc000480a90 /* 25 vars */) = 0 33 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000137c70 /* 25 vars */) = 0 35 +++ exited with 0 +++ 36 +++ exited with 0 +++ 34 +++ exited with 0 +++ 32 +++ exited with 0 +++ 20 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=32, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 37 ????( <unfinished ...> 38 +++ exited with 0 +++ 37 +++ exited with 0 +++ 39 +++ exited with 0 +++ 33 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 40 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build047670052/b001/_pkg"..., "-trimpath", "/tmp/go-build047670052/b001=>", "-p", "main", "-complete", "-buildid", "CqrhAKA12WXlQX-76p1j/CqrhAKA12WX"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build047670052/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc000392410 /* 25 vars */) = 0 42 +++ exited with 0 +++ 44 +++ exited with 0 +++ 43 +++ exited with 0 +++ 41 +++ exited with 0 +++ 40 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=40, si_uid=0, si_status=0, si_utime=1, si_stime=1} --- 45 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000392820 /* 25 vars */) = 0 49 +++ exited with 0 +++ 47 +++ exited with 0 +++ 46 +++ exited with 0 +++ 48 +++ exited with 0 +++ 45 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=45, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 50 execve("/usr/lib/go/pkg/tool/linux_amd64/link", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-o", "/tmp/go-build047670052/b001/exe/"..., "-importcfg", "/tmp/go-build047670052/b001/impo"..., "-buildmode=exe", "-buildid=835o2fdw0f86s_BNb80M/Cq"..., "-extld=gcc", "/tmp/go-build047670052/b001/_pkg"...], 0xc000392c30 /* 25 vars */) = 0 53 +++ exited with 0 +++ 51 +++ exited with 0 +++ 52 +++ exited with 0 +++ 50 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=50, si_uid=0, si_status=0, si_utime=22, si_stime=4} --- 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 +++ 13 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=0, si_utime=5, si_stime=14} --- 55 execve("/tmp/code", ["/tmp/code"], 0x55e4db9ddcf0 /* 7 vars */ <unfinished ...> 54 execve("/bin/cat", ["cat", "-"], 0x55e4db9ddd08 /* 7 vars */ <unfinished ...> 55 <... execve resumed>) = 0 54 <... execve resumed>) = 0 54 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=54, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 56 +++ exited with 0 +++ 59 +++ exited with 0 +++ 58 +++ exited with 0 +++ 57 +++ exited with 0 +++ 55 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=55, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 60 execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x55e4db9ddcf0 /* 7 vars */) = 0 60 +++ exited with 0 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=60, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 10 +++ exited with 0 +++