Compile Error
/in/foo.c: In function 'main':
/in/foo.c:6:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
6 | for(i=2;i<n;i++);
| ^~~
/in/foo.c:7:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
7 | { if(n%i==o)
| ^
/in/foo.c:7:20: error: 'o' undeclared (first use in this function)
7 | { if(n%i==o)
| ^
/in/foo.c:7:20: note: each undeclared identifier is reported only once for each function it appears in
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-11-13 13:06:22
- 评测时间
- 2025-11-13 13:06:22
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes