Language: C

#define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}

Compiler output:
main.c:2:1: warning: data definition has no type or storage class
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      | ^
main.c:2:1: error: type defaults to 'int' in declaration of 'a' [-Wimplicit-int]
main.c:2:3: error: return type defaults to 'int' [-Wimplicit-int]
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |   ^
main.c: In function 'g':
main.c:2:7: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |       ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
main.c:2:7: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |       ^~~~~
main.c:2:7: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:2:26: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                          ^~~~
main.c:1:1: note: include '<stdlib.h>' or provide a declaration of 'exit'
  +++ |+#include <stdlib.h>
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
main.c:2:26: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                          ^~~~
main.c:2:26: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:2:26: error: too few arguments to function 'exit'
main.c: At top level:
main.c:2:34: error: return type defaults to 'int' [-Wimplicit-int]
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                                  ^~~~
main.c: In function 'main':
main.c:2:34: error: type of 'm' defaults to 'int' [-Wimplicit-int]
main.c:2:34: error: type of 'v' defaults to 'int' [-Wimplicit-int]
main.c:2:34: error: type of 'x' defaults to 'int' [-Wimplicit-int]
main.c:1:37: error: implicit declaration of function 'sin' [-Wimplicit-function-declaration]
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
      |                                     ^~~
main.c:2:84: note: in expansion of macro 'Z'
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                                                                                    ^
main.c:1:1: note: include '<math.h>' or provide a declaration of 'sin'
  +++ |+#include <math.h>
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
main.c:1:37: warning: incompatible implicit declaration of built-in function 'sin' [-Wbuiltin-declaration-mismatch]
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
      |                                     ^~~
main.c:2:84: note: in expansion of macro 'Z'
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                                                                                    ^
main.c:1:37: note: include '<math.h>' or provide a declaration of 'sin'
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
      |                                     ^~~
main.c:2:84: note: in expansion of macro 'Z'
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                                                                                    ^
main.c:1:58: warning: incompatible implicit declaration of built-in function 'sin' [-Wbuiltin-declaration-mismatch]
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
      |                                                          ^~~
main.c:2:84: note: in expansion of macro 'Z'
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                                                                                    ^
main.c:1:58: note: include '<math.h>' or provide a declaration of 'sin'
    1 | #define Z(V) for(v=360,m=g();--m;V+=sin(x*z))v-=x=g();V+=sin(v*z)
      |                                                          ^~~
main.c:2:84: note: in expansion of macro 'Z'
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                                                                                    ^
main.c:2:94: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    2 | a;g(){scanf("%d",&a);a?a:exit();}main(m,v,x){for(;;){float s=0,t=0,z=.02,e=.000001;Z(s);Z(t);puts(s>t+e?"1":s+e<t?"2":"0");}}
      |                                                                                              ^~~~
main.c:2:94: note: include '<stdio.h>' or provide a declaration of 'puts'