by@drafear
AC
1049ms
define a:readline define b:$a::slice 1 2 if(eq $b ($a::slice 2 3)){ echo $b }else:echo:$a::slice 4 5 source $0
421 615 734 232 211 227 829 996 913 758 838 836 655 572 233 691 857 456 697 123 538 448 358 546 149 447 669 645 724 415 188 331 511 218 531 992 289 996 788 887 975 957 657 479 788 884 634 327 664 642 744 242 738 836 711 161 287 878 657 737 144 374 861 668
6 2 1 9 7 8 5 3 4 1 4 5 4 6 4 8 1 9 9 8 9 4 8 3 6 4 8 1 8 7 4 6
CODE: 2: error/runtime: slice starts after last element
11 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffc6f899b70 /* 7 vars */) = 0 12 execve("/bin/cat", ["cat", "-"], 0x5571aaf13048 /* 7 vars */) = 0 12 +++ exited with 0 +++ 14 execve("/usr/bin/go", ["/usr/bin/go", "env", "GOPATH"], 0x5571aaf13078 /* 7 vars */) = 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} --- 18 +++ exited with 0 +++ 17 +++ exited with 0 +++ 15 +++ exited with 0 +++ 16 +++ exited with 0 +++ 14 +++ exited with 0 +++ 13 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=1} --- 13 execve("/root/go/bin/oh", ["/root/go/bin/oh", "/volume/CODE"], 0x5571aaf13068 /* 7 vars */) = 0 24 +++ exited with 0 +++ 23 +++ exited with 0 +++ 22 +++ exited with 0 +++ 21 +++ exited with 0 +++ 19 +++ exited with 0 +++ 20 +++ exited with 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=4, si_stime=6} --- 11 +++ exited with 0 +++