Result

AC

Duration

1319ms

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)
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,$x)))))))))
$(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

571 416
855 436
637 618
357 771
764 243
547 668
653 538
933 387
286 179
611 437
538 393
422 121
519 156
712 289
993 998
522 221
843 743
588 682
765 654
866 672
622 996
267 768
859 598
817 716
528 847
914 918
369 991
755 554
963 713
899 226
462 663
645 226

stdout

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

stderr

make: *** No targets.  Stop.

strace

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