by@kurgm
AC
806ms
n=1 2 3 4 5 6 7 8 9 a: $(foreach s,$(subst $() ,X,$(STDIN)),$(or $(strip $(foreach i,$n,$(if $(findstring $i$iX,$s),$i))),$(foreach i,$n,$(if $(findstring X$i,$s),$i))))
322 252 278 771 684 486 532 459 295 443 233 821 424 649 422 119 394 467 622 321 311 115 649 695 466 643 651 556 755 875 116 181 785 783 399 992 238 937 988 559 983 832 479 557 424 214 566 436 984 153 998 446 561 116 844 749 562 265 889 917 143 338 176 769
2 7 4 4 4 3 6 2 4 2 1 6 6 5 5 1 7 9 9 8 8 5 2 6 1 4 1 4 2 9 3 7
make: 2: No such file or directory make: *** [/volume/CODE:3: a] Error 127
10 execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffe03bedb40 /* 7 vars */) = 0 11 execve("/bin/cat", ["cat", "-"], 0x55b646b8e028 /* 7 vars */) = 0 12 execve("/usr/bin/ag_launcher", ["/usr/bin/ag_launcher", "-i", "/usr/bin/make", "-f", "/volume/CODE"], 0x55b646b8e0a8 /* 7 vars */) = 0 12 execve("/usr/bin/make", ["/usr/bin/make", "-f", "/volume/CODE"], 0x557277142da0 /* 8 vars */ <unfinished ...> 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 resumed>) = 0 12 +++ exited with 2 +++ 10 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=2, si_utime=0, si_stime=0} --- 10 +++ exited with 2 +++