by@progrunner17
WA
472ms
module z;integer a,b,c,d,e,f,g,h,i,j,k,l;initial begin c=$fscanf(1<<31,"%d%d%d%d%d%d%d%d%d%d%d%d",a,b,c,d,e,f,g,h,i,j,k,l);d-=a;e-=b;f-=c;g-=a;h-=b;i-=c;j-=a;k-=b;l-=c;$write((g*k*f+j*e*i+d*h*l-j*h*f-d*k*i-g*e*l)/6);end endmodule
07 85 40 27 46 16 42 10 27 15 10 10
1665