by@akouryy1
AC
6034ms
fun main(b:Array<String>){ val a=(0..3).flatMap{readLine()!!.split(" ").map{a->a.toInt()}}.toMutableList() for(z in 0..8)a[z]-=a[9+z%3] println(-(a[7]*(a[3]*a[2]-a[0]*a[5])+a[6]*(a[1]*a[5]-a[4]*a[2])+a[8]*(a[0]*a[4]-a[3]*a[1]))/6) }
59 70 66 31 86 01 72 97 09 01 02 91
15499