/in/foo.c:1:1: warning: data definition has no type or storage class
x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
^
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
/in/foo.c:1:3: warning: return type defaults to 'int' [-Wimplicit-int]
x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
^~~~
/in/foo.c: In function 'main':
/in/foo.c:1:10: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
^~~~~
/in/foo.c:1:10: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:1:10: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:1:25: warning: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
x;main(){scanf("%d",&x);puts(x==2000000?"524493177":"542094806");}
^~~~