by@henkma
WA
1134ms
package main import."os" func main(){b:=new([7]byte);for Stdin.Read(b){Stdout.Write(b[b[1]/=b[2]?:4])}}
638 933 716 643 932 323 656 995 259 912 957 356 779 771 955 455 786 661 277 798 766 142 328 279 499 773 597 554 458 434 242 541 699 994 621 318 722 728 128 953 515 153 377 883 873 334 654 581 295 997 411 114 851 316 477 797 296 695 673 378 311 241 129 476
# command-line-arguments /tmp/code.go:3:66: syntax error: unexpected /=, expecting : /tmp/code.go:3:72: invalid character U+003F '?' /root/script: line 7: /tmp/code: not found rm: can't remove '/tmp/code': No such file or directory
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcb46ae570 /* 7 vars */) = 0 11 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x560680bccd18 /* 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"], 0x560680bccd38 /* 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"], 0x560682b70028 /* 7 vars */) = 0 20 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0002eb450 /* 25 vars */) = 0 21 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0002e16c0 /* 25 vars */) = 0 24 +++ exited with 0 +++ 27 +++ exited with 0 +++ 26 +++ 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} --- 31 +++ exited with 0 +++ 29 +++ exited with 0 +++ 30 +++ exited with 0 +++ 28 +++ 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} --- 32 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0002eb6c0 /* 25 vars */) = 0 33 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0002e1930 /* 25 vars */) = 0 37 +++ exited with 0 +++ 35 +++ exited with 0 +++ 36 +++ exited with 0 +++ 34 +++ 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} --- 38 +++ exited with 0 +++ 40 +++ exited with 0 +++ 39 +++ exited with 0 +++ 33 +++ exited with 0 +++ 18 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33, 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-build192696641/b001/_pkg"..., "-trimpath", "/tmp/go-build192696641/b001=>", "-p", "main", "-complete", "-buildid", "CF06lyavbZlxeLK8CY-d/CF06lyavbZl"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build192696641/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc0001445b0 /* 25 vars */) = 0 43 +++ exited with 2 +++ 44 +++ exited with 2 +++ 45 +++ exited with 2 +++ 42 +++ exited with 2 +++ 41 +++ exited with 2 +++ 18 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=41, si_uid=0, si_status=2, si_utime=0, si_stime=0} --- 23 +++ exited with 2 +++ 22 +++ exited with 2 +++ 19 +++ exited with 2 +++ 14 +++ exited with 2 +++ 17 +++ exited with 2 +++ 15 +++ exited with 2 +++ 16 +++ exited with 2 +++ 18 +++ exited with 2 +++ 13 +++ exited with 2 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=2, si_utime=3, si_stime=11} --- 46 execve("/bin/cat", ["cat", "-"], 0x560680bccd08 /* 7 vars */) = 0 47 execve("/tmp/code", ["/tmp/code"], 0x560680bcccf0 /* 7 vars */) = -1 ENOENT (No such file or directory) 47 +++ exited with 127 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=47, si_uid=0, si_status=127, si_utime=0, si_stime=0} --- 46 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=46, si_uid=0} --- 46 +++ killed by SIGPIPE +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=46, si_uid=0, si_status=SIGPIPE, si_utime=0, si_stime=0} --- 48 execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x560680bcccf0 /* 7 vars */) = 0 48 +++ exited with 1 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=48, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 10 +++ exited with 1 +++