Result

AC

Duration

781ms

Code [DL]

t= 0 1 2 3 4 5 6 7 8 9
i=$(STDIN)
$(foreach d,$t,$(eval i:=$$(subst $d, $d,$$i)))$(foreach ,$t$t$t$t,$(info $(if $(findstring $(word 2,$i),$(word 3,$i)),$(word 3,$i),$(word 4,$i)))$(eval i:=$$(wordlist 7,999,$$i)))

stdin

872 667
164 966
354 443
955 557
359 952
852 169
422 221
399 492
466 429
399 112
397 743
842 443
641 417
744 648
623 335
995 963
943 439
821 682
935 572
835 331
911 887
579 973
119 447
939 537
791 213
462 454
585 822
143 317
933 329
188 896
981 314
399 653

stdout

6
9
4
5
9
1
2
9
6
9
7
4
4
4
3
9
4
6
5
3
1
9
4
5
2
4
8
3
3
8
3
9





stderr

make: *** No targets.  Stop.

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffec4344e10 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x5611c8f39028 /* 7 vars */) = 0
12    execve("/usr/bin/ag_launcher", ["/usr/bin/ag_launcher", "-i", "/usr/bin/make", "-f", "/volume/CODE"], 0x5611c8f390a8 /* 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("/usr/bin/make", ["/usr/bin/make", "-f", "/volume/CODE"], 0x561e6e4efda0 /* 8 vars */) = 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 +++