Result

WA

Duration

885ms

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

985 856
724 838
146 629
731 414
588 784
377 677
744 441
935 354
788 992
458 786
488 898
449 421
298 886
221 223
753 317
669 778
956 487
177 328
975 574
597 698
951 546
139 231
659 997
433 221
455 796
372 441
822 271
186 336
816 118
253 255
922 227
678 874

stdout

88648743878981394756529354231228

stderr

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

strace

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