by@moratorium08
WA
559ms
import std.stdio;void main(){int[30]a;for(int i;read(" %d",&a[i]);)a[i]-=a[i%3]*(i++>2);write=(a[3]*(a[7]*a[11]-a[8]*a[10])+a[4]*(a[8]*a[9]-a[11]*a[6])+a[5]*(a[10]*a[6]-a[7]*a[9]))/6;}
40 85 83 04 47 35 39 83 02 86 11 68
/volume/CODE.d(1): Error: undefined identifier `read`, did you mean function `fread`? Failed: ["/usr/bin/dmd", "-v", "-o-", "/volume/CODE.d", "-I/volume"]