Result

WA

Duration

543ms

Code [DL]

@S=global[3 x i8]c"-c\00", align 1
@T=global[134 x i8]c"s=open(0).read().split();a,b,c,d,e,f,g,h,i=[int(s[i+3])-int(s[i%3])for i in range(9)];print((a*(e*i-h*f)+b*(f*g-i*d)+c*(d*h-g*e))//6)\00", align 1
@args=global[4 x i8*][i8* getelementptr inbounds ([3 x i8],[3 x i8]*@S, i32 0, i32 0), i8* getelementptr inbounds ([3 x i8],[3 x i8]*@S, i32 0, i32 0), i8* getelementptr inbounds ([134 x i8],[134 x i8]*@T, i32 0, i32 0), i8* null], align 16
@U=global[8 x i8]c"python3\00", align 1

define i32@main(){
%1=call i32@execvp(i8* getelementptr inbounds ([8 x i8],[8 x i8]*@U, i32 0, i32 0), i8** getelementptr inbounds ([4 x i8*],[4 x i8*]*@args, i32 0, i32 0))
ret i32 0
}

declare i32@execvp(i8*, i8**)

stdin

96 88 56
01 09 01
31 96 91
42 66 22

stdout

stderr

strace