Result

AC

Duration

1100ms

Code [DL]

l=4 10 16 22 28 34 40 46 52 58 64 70 76 82 88 94 100 106 112 118 124 130 136 142 148 154 160 166 172 178 184 190
i=$(subst 9, 9,$(subst 8, 8,$(subst 7, 7,$(subst 6, 6,$(subst 5, 5,$(subst 4, 4,$(subst 3, 3,$(subst 2, 2,$(subst 1, 1,$(STDIN))))))))))
$(foreach p,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,$(info $(if $(findstring $(word $(word $p, $l),x x $i),$(word $(word $p,$l),x $i)),$(word $(word $p,$l),x x $i),$(word $(word $p,$l),$i))))

stdin

439 391
244 342
588 442
885 858
499 973
331 337
929 587
748 885
388 887
544 445
599 279
797 744
536 663
341 443
634 736
785 518
277 442
955 583
939 443
116 417
962 845
427 379
699 158
752 332
446 413
258 951
127 728
682 324
842 241
788 689
595 324
859 565

stdout

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

stderr

make: *** No targets.  Stop.

strace

13    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7fff1355ec60 /* 7 vars */) = 0
15    execve("/usr/bin/ag_launcher", ["/usr/bin/ag_launcher", "-i", "/usr/bin/make", "-f", "/volume/CODE"], 0x5581abe880a8 /* 7 vars */) = 0
14    execve("/bin/cat", ["cat", "-"], 0x5581abe88028 /* 7 vars */) = 0
15    execve("/usr/bin/make", ["/usr/bin/make", "-f", "/volume/CODE"], 0x5637edc71da0 /* 8 vars */) = 0
14    +++ exited with 0 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
15    +++ exited with 2 +++
13    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=15, si_uid=0, si_status=2, si_utime=0, si_stime=0} ---
13    +++ exited with 2 +++