Result

WA

Duration

485ms

Code [DL]

z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);

stdin

04 37 79
63 12 24
04 81 93
72 48 42

stdout

stderr

/tmp/code.c:1:1: warning: data definition has no type or storage class
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
 ^
/tmp/code.c:1:1: warning: type defaults to 'int' in declaration of 'z' [-Wimplicit-int]
/tmp/code.c:1:6: warning: data definition has no type or storage class
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
      ^
/tmp/code.c:1:6: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
/tmp/code.c:1:12: warning: data definition has no type or storage class
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
            ^
/tmp/code.c:1:12: warning: type defaults to 'int' in declaration of 's' [-Wimplicit-int]
/tmp/code.c:1:14: warning: type defaults to 'int' in declaration of 'q' [-Wimplicit-int]
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
              ^
/tmp/code.c:1:16: warning: return type defaults to 'int' [-Wimplicit-int]
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
                ^~~~
/tmp/code.c: In function 'main':
/tmp/code.c:1:23: error: expected declaration specifiers before 'for'
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
                       ^~~
/tmp/code.c:1:28: error: expected declaration specifiers before 'z'
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
                            ^
/tmp/code.c:1:50: error: expected declaration specifiers before 'a'
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
                                                  ^
/tmp/code.c:1:16: warning: type of 'p' defaults to 'int' [-Wimplicit-int]
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
                ^~~~
/tmp/code.c:1:50: error: expected '{' at end of input
 z=12;a[12];s,q;main(p)for(;z--||printf("%d",s/6);a[z%9]-=a[9+z%3],s+=a[z%3]*=a[p=3+-~z%3]*a[q=6+(z+2)%3]-a[q-3]*a[p+3])scanf("%d",a+z);
                                                  ^
/bin/script: line 16: /tmp/code: not found
rm: can't remove '/tmp/code': No such file or directory

strace