Result

WA

Duration

499ms

Code [DL]

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

stdin

82 68 35
80 04 03
34 55 68
20 35 45

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
 ^
/tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
/tmp/code.c:1:7: warning: return type defaults to 'int' [-Wimplicit-int]
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
       ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:7: warning: type of 'y' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:7: warning: type of 'z' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:32: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
                                ^~~~~
/tmp/code.c:1:32: warning: incompatible implicit declaration of built-in function 'scanf'
/tmp/code.c:1:32: note: include '<stdio.h>' or provide a declaration of 'scanf'
/tmp/code.c:1:76: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/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'
/tmp/code.c:1:98: error: expected ')' before 'a'
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
                                                                                                  ^
/tmp/code.c:1:89: error: called object is not a function or function pointer
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
                                                                                         ^
/tmp/code.c:1:119: error: expected ')' before 'a'
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
                                                                                                                       ^
/tmp/code.c:1:110: error: called object is not a function or function pointer
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
                                                                                                              ^
/tmp/code.c:1:139: error: 'aa' undeclared (first use in this function)
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
                                                                                                                                           ^~
/tmp/code.c:1:139: note: each undeclared identifier is reported only once for each function it appears in
/tmp/code.c:1:134: error: called object is not a function or function pointer
 a[12];main(y,z){z=12;for(;z--;)scanf("%d",a+z);for(z=9;z--;)a[z]-=a[9+z%3];printf("%d",(a[7](a[3]a[2]-aa[5])+a[6](a[1]a[5]-a[4]a[2])+a[8](aa[4]-a[3]*a[1]))/6);}
                                                                                                                                      ^
/bin/script: line 16: /tmp/code: not found
rm: can't remove '/tmp/code': No such file or directory

strace