Result

AC

Duration

524ms

Code [DL]

read "%d+" ↔ O "l" = O "k" = O "j" = [
read "%d+" ↔ O l - z = O k - y = O j - x = [
read "%d+" ↔ O l - Z = O k - Y = O j - X = [
read "%d+" ↔ O l - x Y * X y * - * \ O k - z X * Z x * - * \ O j - y Z * Y z * - * \ [ + + 6 //

stdin

09 87 86
51 36 41
38 18 51
12 73 32

stdout

11726

stderr

strace