foo.c: In function 'main':
foo.c:6:18: error: expected ')' before '\U0000ff1a'
6 | printf("输入" :\ m)
| ~ ^~~
| )
foo.c:6:21: error: stray '\' in program
6 | printf("输入" :\ m)
| ^
foo.c:6:25: error: expected ';' before 'scanf'
6 | printf("输入" :\ m)
| ^
| ;
7 | scanf("%d", &m);
| ~~~~~
foo.c:8:10: error: expected ';' before 'while'
8 | i = 2
| ^
| ;
9 | while (i < m)
| ~~~~~
foo.c:12:36: error: stray '\' in program
12 | printf(% d不是素数 \ n, m);
| ^
foo.c:5:12: warning: variable 'i' set but not used [-Wunused-but-set-variable]
5 | int m, i;
| ^
foo.c:5:9: warning: unused variable 'm' [-Wunused-variable]
5 | int m, i;
| ^
foo.c: At top level:
foo.c:18:8: error: expected declaration specifiers or '...' before '%' token
18 | printf(% d不是素数 \n, m);}
| ^
foo.c:18:20: error: stray '\' in program
18 | printf(% d不是素数 \n, m);}
| ^
foo.c:18:24: error: unknown type name 'm'
18 | printf(% d不是素数 \n, m);}
| ^
foo.c:18:27: error: expected identifier or '(' before '}' token
18 | printf(% d不是素数 \n, m);}
| ^
foo.c:19:5: error: expected identifier or '(' before 'return'
19 | return 0
| ^~~~~~
[Hydro](https://hydro.ac)提供评测服务