by@kurgm
AC
806ms
a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
23 34 01 84 54 35 70 17 12 88 59 12
8883
/tmp/code.c:1:1: warning: data definition has no type or storage class a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] /tmp/code.c:1:3: warning: type defaults to 'int' in declaration of 'b' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:5: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:7: warning: type defaults to 'int' in declaration of 'd' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:9: warning: type defaults to 'int' in declaration of 'e' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:11: warning: type defaults to 'int' in declaration of 'f' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:13: warning: type defaults to 'int' in declaration of 'g' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:15: warning: type defaults to 'int' in declaration of 'h' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:17: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:19: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:21: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:23: warning: type defaults to 'int' in declaration of 'l' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^ /tmp/code.c:1:25: warning: return type defaults to 'int' [-Wimplicit-int] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^~~~ /tmp/code.c: In function 'main': /tmp/code.c:1:32: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/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:147: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] a,b,c,d,e,f,g,h,i,j,k,l;main(){scanf("%d%d%d%d%d%d%d%d%d%d%d%d",&j,&k,&l,&a,&b,&c,&d,&e,&f,&g,&h,&i);a-=j;b-=k;c-=l;d-=j;e-=k;f-=l;g-=j;h-=k;i-=l;printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);} ^~~~~~ /tmp/code.c:1:147: warning: incompatible implicit declaration of built-in function 'printf' /tmp/code.c:1:147: note: include '<stdio.h>' or provide a declaration of 'printf'