by@taiyoslime
WA
4185ms
import java.util.*;interface A{static void main(String[]a,int i){Scanner s=new Scanner(System.in);int[]X=new int[12];for(;i<12;)X[i]=s.nextInt()-X[i++%3];System.out.printf("%d",((X[4]*X[8]-X[5]*X[7])*X[9]+(X[5]*X[6]-X[3]*X[8])*X[10]+(X[3]*X[7]-X[4]*X[6])*X[11])/6);}}
74 50 80 35 91 04 22 62 37 46 92 49
Error: Main method not found in class A, please define the main method as: public static void main(String[] args) or a JavaFX application class must extend javafx.application.Application