by@drafear
WA
682ms
x=$(subst $() ,1,$(STDIN)) a=$(subst 1, ,$(firstword $x)) b=$(subst 1, 1 ,$(lastword $x)) c=$(subst $() , 1 ,$a) p=1 s=x $(foreach i,$x,$(if $(findstring $(subst 1,,$i),K),,$(info $a)),),$(foreach i,$b,$(if $(findstring $i,K),$(eval p=2)) $(if $(findstring $(word $(words $s),$c),T),$(eval p=1)) $(eval s+=$p)),$(info $(subst 1, ,$(subst x,,$(subst $() ,,$s))))
T K
T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T T 222
/volume/CODE:7: *** missing separator. Stop.
11 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcdd455da0 /* 7 vars */) = 0 12 execve("/bin/cat", ["cat", "-"], 0x558d34ebb068 /* 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("/usr/bin/ag_launcher", ["/usr/bin/ag_launcher", "-i", "/usr/bin/make", "-f", "/volume/CODE"], 0x558d34ebb0e8 /* 7 vars */) = 0 13 execve("/usr/bin/make", ["/usr/bin/make", "-f", "/volume/CODE"], 0x7f6705850d40 /* 8 vars */) = 0 13 +++ exited with 2 +++ 11 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=2, si_utime=1, si_stime=0} --- 11 +++ exited with 2 +++