Result

WA

Duration

777ms

Code [DL]

1=$(STDIN)
f=$(foreach d,1 2 3 4 5 6 7 8 9,$(eval 1:=$(1:$d= $d)))$(if $1,$(or $(filter $(word 2,$1),$(word 3,$1)),$(word 4,$1))$(call f,$(wordlist 7,999,$1)))
a:;$f

stdin

729 824
513 549
146 263
628 844
996 698
244 855
288 886
766 365
676 637
833 993
488 668
921 828
299 918
958 224
834 377
413 134
976 676
376 296
922 451
846 436
366 968
253 556
788 455
173 774
511 121
175 559
581 669
626 464
139 996
642 423
566 557
844 447

stdout

4        6        84        6        28        6        6        9        9        9        4        3        6        2        5        36        3        5        7        1        8        4        9        3        4        

stderr

make: 4: No such file or directory
make: *** [/volume/CODE:3: a] Error 127

strace

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