Result

WA

Duration

781ms

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

254 455
948 116
696 543
472 935
487 421
166 161
641 344
126 662
889 293
122 228
992 922
791 956
211 882
713 136
733 331
995 597
522 325
611 438
272 228
156 766
533 364
749 779
877 769
942 297
275 521
885 867
525 226
299 885
273 771
591 592
598 438
422 581

stdout

41694636922911352127377255597542

stderr

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

strace

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