Result

WA

Duration

540ms

Code [DL]

b>ia*i+bc4**v
v^? }-1:{~i-<
>9>:d$-[ $:}${{-} }@{1-] naonaonaonaonaonaonaonaonaonaonaonao;
  ^                       <

stdin

77 07 95
64 03 22
43 49 03
99 12 05

stdout

8
12
-94
5
3
49
43
22
3
64
95
7

stderr

strace