Result

WA

Duration

528ms

Code [DL]

main(y,z){int a[z=12];for(;z--;)scanf("%d",a+z);for(;z<9;)a[z]-=a[9+z++%3];printf("%d",(a[3]*a[7]*a[2]+a[6]*a[1]*a[5]+*a*a[4]*a[8]-a[6]*a[4]*a[2]-*a*a[7]*a[5]-a[3]*a[1]*a[8])/6);}

stdin

52 89 20
12 06 21
30 88 90
14 71 85

stdout

-53036

stderr

/tmp/code.c:1:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main(y,z){int a[z=12];for(;z--;)scanf("%d",a+z);for(;z<9;)a[z]-=a[9+z++%3];printf("%d",(a[3]*a[7]*a[2]+a[6]*a[1]*a[5]+*a*a[4]*a[8]-a[6]*a[4]*a[2]-*a*a[7]*a[5]-a[3]*a[1]*a[8])/6);}
 ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:1: warning: type of 'z' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:33: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 main(y,z){int a[z=12];for(;z--;)scanf("%d",a+z);for(;z<9;)a[z]-=a[9+z++%3];printf("%d",(a[3]*a[7]*a[2]+a[6]*a[1]*a[5]+*a*a[4]*a[8]-a[6]*a[4]*a[2]-*a*a[7]*a[5]-a[3]*a[1]*a[8])/6);}
                                 ^~~~~
/tmp/code.c:1:33: warning: incompatible implicit declaration of built-in function 'scanf'
/tmp/code.c:1:33: note: include '<stdio.h>' or provide a declaration of 'scanf'
/tmp/code.c:1:70: warning: operation on 'z' may be undefined [-Wsequence-point]
 main(y,z){int a[z=12];for(;z--;)scanf("%d",a+z);for(;z<9;)a[z]-=a[9+z++%3];printf("%d",(a[3]*a[7]*a[2]+a[6]*a[1]*a[5]+*a*a[4]*a[8]-a[6]*a[4]*a[2]-*a*a[7]*a[5]-a[3]*a[1]*a[8])/6);}
                                                                     ~^~
/tmp/code.c:1:70: warning: operation on 'z' may be undefined [-Wsequence-point]
/tmp/code.c:1:76: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 main(y,z){int a[z=12];for(;z--;)scanf("%d",a+z);for(;z<9;)a[z]-=a[9+z++%3];printf("%d",(a[3]*a[7]*a[2]+a[6]*a[1]*a[5]+*a*a[4]*a[8]-a[6]*a[4]*a[2]-*a*a[7]*a[5]-a[3]*a[1]*a[8])/6);}
                                                                            ^~~~~~
/tmp/code.c:1:76: warning: incompatible implicit declaration of built-in function 'printf'
/tmp/code.c:1:76: note: include '<stdio.h>' or provide a declaration of 'printf'

strace