Result

AC

Duration

804ms

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

988 886
322 998
766 445
948 662
258 579
466 366
944 914
267 653
749 219
811 113
116 619
885 688
171 719
545 338
672 279
854 233
833 434
577 556
313 339
855 773
169 997
887 883
886 369
669 695
263 383
355 538
755 562
115 212
688 142
196 651
192 828
972 779

stdout

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

stderr

make: *** No targets.  Stop.

strace

11    execve("/bin/sh", ["/bin/sh", "/root/script", "/volume/CODE"], 0x7ffd47728ed0 /* 7 vars */) = 0
12    execve("/bin/cat", ["cat", "-"], 0x55bea188c028 /* 7 vars */) = 0
13    execve("/usr/bin/ag_launcher", ["/usr/bin/ag_launcher", "-i", "/usr/bin/make", "-f", "/volume/CODE"], 0x55bea188c0a8 /* 7 vars */) = 0
13    execve("/usr/bin/make", ["/usr/bin/make", "-f", "/volume/CODE"], 0x5574dbac1da0 /* 8 vars */) = 0
12    +++ exited with 0 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=12, si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13    +++ exited with 2 +++
11    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=13, si_uid=0, si_status=2, si_utime=0, si_stime=0} ---
11    +++ exited with 2 +++