Result

WA

Duration

758ms

Code [DL]

t=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
i=$(STDIN)
$(foreach d,0 1 2 3 4 5 6 7 8 9,$(eval i:=$$(subst $d, $d,$$i)))$(foreach p,$t,$(info $(if $(findstring $(word 2,$i),$(word 3,$i)),$(word 3,$i),$(word 4,$i)))$(eval i:=$$(wordlist 6,999,$$i)))

stdin

395 442
394 942
372 275
766 938
144 479
832 789
218 861
223 991
959 988
186 886
613 318
277 379
311 119
671 467
323 338
539 711
365 551
633 771
266 655
711 225
611 817
345 468
836 165
744 376
636 939
241 426
633 291
312 316
569 699
795 998
779 698
255 557

stdout

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

stderr

make: *** No targets.  Stop.

strace

10    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffcd6038f00 /* 7 vars */) = 0
12    execve("/usr/bin/ag_launcher", ["/usr/bin/ag_launcher", "-i", "/usr/bin/make", "-f", "/volume/CODE"], 0x560ebf05c0a8 /* 7 vars */) = 0
11    execve("/bin/cat", ["cat", "-"], 0x560ebf05c028 /* 7 vars */) = 0
12    execve("/usr/bin/make", ["/usr/bin/make", "-f", "/volume/CODE"], 0x559d94f66da0 /* 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 +++