Result

WA

Duration

504ms

Code [DL]

read "v1" =
read "v2" =
read "v3" =
read "v4" =

v1 0 index v1 1 index 10 * + p

stdin

34 96 38
89 64 16
36 89 66
36 43 04

stdout

38.0

stderr

strace