foo.c: In function 'main':
foo.c:5:9: error: stray '\357' in program
int n,k,a[10000];
^
foo.c:5:10: error: stray '\274' in program
int n,k,a[10000];
^
foo.c:5:11: error: stray '\214' in program
int n,k,a[10000];
^
foo.c:5:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
int n,k,a[10000];
^
foo.c:9:15: error: 'a' undeclared (first use in this function)
scanf("%d",&a[i]);
^
foo.c:9:15: note: each undeclared identifier is reported only once for each function it appears in
foo.c:11:14: error: 'k' undeclared (first use in this function)
scanf("%d",&k);
^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务