Result

WA

Duration

980ms

Code [DL]

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

stdin

144 481
478 898
278 771
418 229
316 717
182 224
795 292
244 223
874 548
691 982
171 462
233 335
327 226
815 187
259 221
566 198
136 635
411 114
316 642
155 118
877 275
599 932
867 778
115 123
792 722
316 575
344 844
626 623
897 979
946 469
663 992
677 827

stdout

48727224591321266165797575469437

stderr

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

strace

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