by@henkma
WA
1329ms
package main import."os" func main(){b:=new([7]byte);for Stdin.Read(b){Stdout.Write(b[b[1]/=b[2]?4:1])}}
741 448 889 918 911 395 481 885 388 227 641 114 189 893 926 359 822 223 839 125 258 523 967 936 349 998 946 645 254 348 911 112 744 453 153 952 755 955 282 448 616 611 874 843 625 251 353 456 376 224 744 337 163 384 611 613 166 654 588 473 565 167 816 183
# 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
11 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcc58dca30 /* 7 vars */) = 0 12 execve("/usr/bin/realpath", ["realpath", "/volume/CODE"], 0x562a56b9bd18 /* 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"], 0x562a56b9bd38 /* 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"], 0x562a57c21028 /* 7 vars */) = 0 20 execve("/usr/lib/go/pkg/tool/linux_amd64/compile", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc0003056c0 /* 25 vars */) = 0 21 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 +++ 23 +++ exited with 0 +++ 24 +++ exited with 0 +++ 25 +++ exited with 0 +++ 20 +++ exited with 0 +++ 28 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=20, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 32 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000313040 /* 25 vars */) = 0 27 +++ exited with 0 +++ 31 +++ exited with 0 +++ 29 +++ exited with 0 +++ 30 +++ exited with 0 +++ 21 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- 33 execve("/usr/lib/go/pkg/tool/linux_amd64/asm", ["/usr/lib/go/pkg/tool/linux_amd64"..., "-V=full"], 0xc000305860 /* 25 vars */) = 0 34 +++ exited with 0 +++ 36 +++ exited with 0 +++ 35 +++ exited with 0 +++ 37 +++ exited with 0 +++ 32 +++ exited with 0 +++ 17 --- 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 +++ 41 +++ exited with 0 +++ 39 +++ exited with 0 +++ 40 +++ exited with 0 +++ 33 +++ exited with 0 +++ 16 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=33, 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-build905496477/b001/_pkg"..., "-trimpath", "/tmp/go-build905496477/b001=>", "-p", "main", "-complete", "-buildid", "Z8UDafjZ0psret6rvl-5/Z8UDafjZ0ps"..., "-goversion", "go1.13.10", "-D", "_/tmp", "-importcfg", "/tmp/go-build905496477/b001/impo"..., "-pack", "-c=2", "/tmp/code.go"], 0xc0001424e0 /* 25 vars */) = 0 44 +++ exited with 2 +++ 46 +++ exited with 2 +++ 45 +++ exited with 2 +++ 43 +++ exited with 2 +++ 42 +++ exited with 2 +++ 17 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=42, si_uid=0, si_status=2, si_utime=0, si_stime=0} --- 28 +++ exited with 2 +++ 26 +++ exited with 2 +++ 19 +++ exited with 2 +++ 18 +++ exited with 2 +++ 16 +++ exited with 2 +++ 15 +++ exited with 2 +++ 17 +++ exited with 2 +++ 14 +++ exited with 2 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=2, si_utime=3, si_stime=10} --- 47 execve("/bin/cat", ["cat", "-"], 0x562a56b9bd08 /* 7 vars */) = 0 48 execve("/tmp/code", ["/tmp/code"], 0x562a56b9bcf0 /* 7 vars */) = -1 ENOENT (No such file or directory) 48 +++ exited with 127 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=48, si_uid=0, si_status=127, si_utime=0, si_stime=0} --- 47 --- SIGPIPE {si_signo=SIGPIPE, si_code=SI_USER, si_pid=47, si_uid=0} --- 47 +++ killed by SIGPIPE +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=47, si_uid=0, si_status=SIGPIPE, si_utime=0, si_stime=0} --- 49 execve("/bin/rm", ["rm", "/tmp/code.go", "/tmp/code"], 0x562a56b9bcf0 /* 7 vars */) = 0 49 +++ exited with 1 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=49, si_uid=0, si_status=1, si_utime=0, si_stime=0} --- 11 +++ exited with 1 +++