Result

AC

Duration

544ms

Code [DL]

i;X[9];main(s){~scanf("%d",X+i)?main(s-i/9*(X[i-3]-=X[i])*(X[++i%3]*X[3-~i%3]-X[3+i%3]*X[-~i%3])):printf("%d",s/6);}

stdin

23 67 65
65 16 62
75 67 96
61 05 73

stdout

8589

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 i;X[9];main(s){~scanf("%d",X+i)?main(s-i/9*(X[i-3]-=X[i])*(X[++i%3]*X[3-~i%3]-X[3+i%3]*X[-~i%3])):printf("%d",s/6);}
 ^
/tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int]
/tmp/code.c:1:3: warning: data definition has no type or storage class
 i;X[9];main(s){~scanf("%d",X+i)?main(s-i/9*(X[i-3]-=X[i])*(X[++i%3]*X[3-~i%3]-X[3+i%3]*X[-~i%3])):printf("%d",s/6);}
   ^
/tmp/code.c:1:3: warning: type defaults to 'int' in declaration of 'X' [-Wimplicit-int]
/tmp/code.c:1:8: warning: return type defaults to 'int' [-Wimplicit-int]
 i;X[9];main(s){~scanf("%d",X+i)?main(s-i/9*(X[i-3]-=X[i])*(X[++i%3]*X[3-~i%3]-X[3+i%3]*X[-~i%3])):printf("%d",s/6);}
        ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:8: warning: type of 's' defaults to 'int' [-Wimplicit-int]
/tmp/code.c:1:17: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
 i;X[9];main(s){~scanf("%d",X+i)?main(s-i/9*(X[i-3]-=X[i])*(X[++i%3]*X[3-~i%3]-X[3+i%3]*X[-~i%3])):printf("%d",s/6);}
                 ^~~~~
/tmp/code.c:1:17: warning: incompatible implicit declaration of built-in function 'scanf'
/tmp/code.c:1:17: note: include '<stdio.h>' or provide a declaration of 'scanf'
/tmp/code.c:1:99: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
 i;X[9];main(s){~scanf("%d",X+i)?main(s-i/9*(X[i-3]-=X[i])*(X[++i%3]*X[3-~i%3]-X[3+i%3]*X[-~i%3])):printf("%d",s/6);}
                                                                                                   ^~~~~~
/tmp/code.c:1:99: warning: incompatible implicit declaration of built-in function 'printf'
/tmp/code.c:1:99: note: include '<stdio.h>' or provide a declaration of 'printf'
/tmp/code.c:1:62: warning: operation on 'i' may be undefined [-Wsequence-point]
 i;X[9];main(s){~scanf("%d",X+i)?main(s-i/9*(X[i-3]-=X[i])*(X[++i%3]*X[3-~i%3]-X[3+i%3]*X[-~i%3])):printf("%d",s/6);}
                                                              ^~~
/tmp/code.c:1:62: warning: operation on 'i' may be undefined [-Wsequence-point]
/tmp/code.c:1:62: warning: operation on 'i' may be undefined [-Wsequence-point]
/tmp/code.c:1:62: warning: operation on 'i' may be undefined [-Wsequence-point]
/tmp/code.c:1:62: warning: operation on 'i' may be undefined [-Wsequence-point]
/tmp/code.c:1:62: warning: operation on 'i' may be undefined [-Wsequence-point]
/tmp/code.c:1:62: warning: operation on 'i' may be undefined [-Wsequence-point]

strace