by@Sakura_Neko_UT
WA
503ms
module z;time a,b,c,d,e,f,g,h,i,j,k,l,z;initial be z=$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
02 02 13 53 37 70 10 81 58 62 51 94
/volume/CODE:1: syntax error /volume/CODE:1: Syntax in assignment statement l-value. /volume/CODE:1: syntax error /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: Invalid module instantiation /volume/CODE:1: error: invalid module item. /volume/CODE:1: syntax error I give up. /bin/script: line 14: /tmp/code: not found rm: can't remove '/tmp/code': No such file or directory