foo.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
1 | include<stdio.h>
| ^
foo.c: In function 'main':
foo.c:21:9: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
21 | scanf("%d", &x);
| ^~~~~
foo.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
+++ |+#include <stdio.h>
1 | include<stdio.h>
foo.c:21:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
21 | scanf("%d", &x);
| ^~~~~
foo.c:21:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
foo.c:28:33: error: 'a' undeclared (first use in this function)
28 | a[i]++;
| ^
foo.c:28:33: note: each undeclared identifier is reported only once for each function it appears in
foo.c:40:25: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
40 | printf("%d ", j);
| ^~~~~~
foo.c:40:25: note: include '<stdio.h>' or provide a declaration of 'printf'
foo.c:40:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
foo.c:40:25: note: include '<stdio.h>' or provide a declaration of 'printf'
[Hydro](https://hydro.ac)提供评测服务