Compile Error
foo.c: In function 'main':
foo.c:11:9: error: expected ')' before 'x'
11 | if(x1++x)
| ~ ^
| )
foo.c:13:2: warning: implicit declaration of function 'elseprintf'; did you mean 'vsnprintf'? [-Wimplicit-function-declaration]
13 | elseprintf("no");
| ^~~~~~~~~~
| vsnprintf
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
5 | scanf("%d",&x);
| ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- A3-2 素数专题:素数判断
- 比赛
- 2022春 C语言课程设计 作业1
- 语言
- C
- 递交时间
- 2022-02-22 12:17:11
- 评测时间
- 2022-02-22 12:17:11
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes