Result

AC

Duration

801ms

Code [DL]

x=$(STDIN)
t=$(wordlist 1,32,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)
j=$(wordlist 1,32,2 8 14 20 26 32 38 44 50 56 62 68 74 80 86 92 98 104 110 116 122 128 134 140 146 152 158 164 170 176 182 188)
k=$(wordlist 1,32,3 9 15 21 27 33 39 45 51 57 63 69 75 81 87 93 99 105 111 117 123 129 135 141 147 153 159 165 171 177 183 189)
l=$(wordlist 1,32,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)
a=$(subst 1, 1,$x)
b=$(subst 2, 2,$a)
c=$(subst 3, 3,$b)
d=$(subst 4, 4,$c)
e=$(subst 5, 5,$d)
f=$(subst 6, 6,$e)
g=$(subst 7, 7,$f)
h=$(subst 8, 8,$g)
i=$(subst 9, 9,$h)
$(foreach p, $t, $(if $(findstring $(word $(word $p, $j), $i), $(word $(word $p, $k), $i)), $(info $(word $(word $p, $j), $i)), $(info $(word $(word $p, $l), $i))))

stdin

869 226
225 449
482 879
664 881
474 763
299 957
599 226
922 396
934 454
974 871
188 883
266 688
311 913
547 589
811 645
815 152
433 332
219 915
393 998
965 653
233 771
616 665
957 821
531 716
674 419
578 592
763 364
291 995
757 779
922 522
578 977
623 836

stdout

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

stderr

make: *** No targets.  Stop.

strace

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