Result

MLE

Duration

1338ms

Code [DL]

fun main(b:Array<String>){val a=(0..3).flatMap{readLine()!!.split(" ").map{a->a.toInt()}}.toMutableList()
print((0..8).map{|z|a[z]-=a[z%3+9],z/6*a[z]*(a[p=3+-~z%3]*a[q=(z+2)%3]-a[q+3]*a[p-3])}.sum/6}

stdin

11 95 72
01 70 11
76 79 71
01 07 32

stdout

stderr

/root/kotlinc/bin/kotlinc: line 74:    14 Killed                  "${JAVACMD:=java}" $JAVA_OPTS "${java_args[@]}" -cp "${kotlin_app[@]}" "${kotlin_args[@]}"
Error: Unable to access jarfile code.jar
rm: can't remove '/tmp/code.jar': No such file or directory