Result

AC

Duration

1271ms

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 $(or $(findstring $(word 2,$i),$(word 3,$i)),$(word 4,$i)))$(eval i:=$$(wordlist 7,999,$$i)))

stdin

766 882
944 236
692 585
433 559
511 813
131 755
966 641
996 997
452 236
244 179
673 115
587 775
875 823
928 228
371 412
685 287
117 716
944 443
646 775
857 573
772 925
814 449
721 185
845 343
822 296
866 667
141 458
829 633
493 933
934 431
133 639
313 192

stdout

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





stderr

make: *** No targets.  Stop.

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd26578dc0 /* 7 vars */) = 0
12    execve("/usr/bin/ag_launcher", ["/usr/bin/ag_launcher", "-i", "/usr/bin/make", "-f", "/volume/CODE"], 0x55a2ef5900a8 /* 7 vars */ <unfinished ...>
11    execve("/bin/cat", ["cat", "-"], 0x55a2ef590028 /* 7 vars */ <unfinished ...>
12    <... execve resumed>)             = 0
11    <... execve resumed>)             = 0
12    execve("/usr/bin/make", ["/usr/bin/make", "-f", "/volume/CODE"], 0x55bb754c8da0 /* 8 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    +++ 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 +++