foo.c: In function 'main':
foo.c:10:15: error: stray '\357' in program
for(k=0;k<(n-1);k++)
^
foo.c:10:16: error: stray '\274' in program
for(k=0;k<(n-1);k++)
^
foo.c:10:17: error: stray '\210' in program
for(k=0;k<(n-1);k++)
^
foo.c:10:21: error: expected ';' before ')' token
for(k=0;k<(n-1);k++)
^
foo.c:10:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(k=0;k<(n-1);k++)
^~~
foo.c:10:23: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(k=0;k<(n-1);k++)
^
foo.c:10:26: error: expected ';' before ')' token
for(k=0;k<(n-1);k++)
^
foo.c:10:26: error: expected statement before ')' token
foo.c:7:7: warning: unused variable 'a' [-Wunused-variable]
int a=j;
^
foo.c:6:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&j);
^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务