Compile Error
/in/foo.c: In function 'a':
/in/foo.c:8:8: error: expected '(' before 'x'
8 | if x%i=0;
| ^
| (
/in/foo.c:8:8: warning: statement with no effect [-Wunused-value]
/in/foo.c: In function 'main':
/in/foo.c:17:11: warning: format '%d' expects a matching 'int' argument [-Wformat=]
17 | printf("%d is not aprimer!");
| ~^
| |
| int
/in/foo.c:19:26: warning: format '%d' expects a matching 'int' argument [-Wformat=]
19 | printf("%d is a primer!");
| ~^
| |
| int
信息
- 递交者
- 类型
- 自测
- 语言
- C
- 递交时间
- 2025-12-01 16:26:55
- 评测时间
- 2025-12-01 16:26:55
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes