Result

WA

Duration

550ms

Code [DL]

b>ia*i+bc4**v
v^? }-1:{~i-<
>:&a[r&-r]:&7[r&-r]&3[r&-r]:&a[r&-r]:&7[r&-r]&3[r&-r]:&a[r&-r]:&7[r&-r]&3[r&-r]nnnnnnnnn;

stdin

84 18 51
96 08 87
06 18 35
30 01 46

stdout

stderr

something smells fishy...