by@kurgm
WA
477ms
#define Z(a,b,c) int a,b,c;scanf(A,&a,&b,&c);a-=j;b-=k;c-=l;
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}17 50 34 29 60 69 84 28 07 29 84 51
/tmp/code.c:2:1: warning: data definition has no type or storage class
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^
/tmp/code.c:2:1: warning: type defaults to 'int' in declaration of 'A' [-Wimplicit-int]
/tmp/code.c:2:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^~~~~~~~
/tmp/code.c:2:3: error: initializer element is not computable at load time
/tmp/code.c:2:12: warning: data definition has no type or storage class
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^
/tmp/code.c:2:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int]
/tmp/code.c:2:14: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int]
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^
/tmp/code.c:2:16: warning: type defaults to 'int' in declaration of 'l' [-Wimplicit-int]
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^
/tmp/code.c:2:18: warning: return type defaults to 'int' [-Wimplicit-int]
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)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:2:25: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^~~~~
/tmp/code.c:2:25: warning: incompatible implicit declaration of built-in function 'scanf'
/tmp/code.c:2:25: note: include '<stdio.h>' or provide a declaration of 'scanf'
/tmp/code.c:2:31: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^
/tmp/code.c:2:31: note: expected 'const char *' but argument is of type 'int'
/tmp/code.c:1:34: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
#define Z(a,b,c) int a,b,c;scanf(A,&a,&b,&c);a-=j;b-=k;c-=l;
^
/tmp/code.c:2:43: note: in expansion of macro 'Z'
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)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:34: note: expected 'const char *' but argument is of type 'int'
#define Z(a,b,c) int a,b,c;scanf(A,&a,&b,&c);a-=j;b-=k;c-=l;
^
/tmp/code.c:2:43: note: in expansion of macro 'Z'
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)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:34: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
#define Z(a,b,c) int a,b,c;scanf(A,&a,&b,&c);a-=j;b-=k;c-=l;
^
/tmp/code.c:2:51: note: in expansion of macro 'Z'
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)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:34: note: expected 'const char *' but argument is of type 'int'
#define Z(a,b,c) int a,b,c;scanf(A,&a,&b,&c);a-=j;b-=k;c-=l;
^
/tmp/code.c:2:51: note: in expansion of macro 'Z'
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)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:34: warning: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
#define Z(a,b,c) int a,b,c;scanf(A,&a,&b,&c);a-=j;b-=k;c-=l;
^
/tmp/code.c:2:59: note: in expansion of macro 'Z'
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)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:34: note: expected 'const char *' but argument is of type 'int'
#define Z(a,b,c) int a,b,c;scanf(A,&a,&b,&c);a-=j;b-=k;c-=l;
^
/tmp/code.c:2:59: note: in expansion of macro 'Z'
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^
/tmp/code.c:2:67: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
A="%d%d%d";j,k,l;main(){scanf(A,&j,&k,&l);Z(a,b,c)Z(d,e,f)Z(g,h,i)printf("%d",(a*e*i+b*f*g+c*d*h-a*h*f-b*i*d-c*g*e)/6);}
^~~~~~
/tmp/code.c:2:67: warning: incompatible implicit declaration of built-in function 'printf'
/tmp/code.c:2:67: note: include '<stdio.h>' or provide a declaration of 'printf'
/bin/script: line 16: /tmp/code: not found
rm: can't remove '/tmp/code': No such file or directory