foo.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
3 | scanf("%d",x)
| ^~~~~
foo.c:5:1: warning: data definition has no type or storage class
5 | x=x\2;
| ^
foo.c:5:1: warning: type defaults to 'int' in declaration of 'x' [-Wimplicit-int]
foo.c:5:4: error: stray '\' in program
5 | x=x\2;
| ^
foo.c:5:3: error: initializer element is not constant
5 | x=x\2;
| ^
foo.c:5:5: error: expected ',' or ';' before numeric constant
5 | x=x\2;
| ^
[Hydro](https://hydro.ac)提供评测服务