Result

WA

Duration

546ms

Code [DL]

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

stdin

70 59 92
18 06 80
22 02 94
31 86 83

stdout

92

stderr