Wrong Answer
foo.c: In function 'superprime': foo.c:7:4: warning: value computed is not used [-Wunused-value] 7 | k==sqrt(n); | ~^~~~~~~~~ foo.c: In function 'main': foo.c:21:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] 21 | scanf("%d",&m); | ^~~~~~~~~~~~~~ foo.c: In function 'superprime': foo.c:8:2: warning: 'k' is used uninitialized in this function [-Wuninitialized] 8 | for(i=2;i<=k;i++) | ^~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- A5-1 超级素数判断
- 比赛
- 中北 计算机2021级专业修读指导(3)
- 语言
- C
- 递交时间
- 2021-12-16 22:54:01
- 评测时间
- 2021-12-16 22:54:01
- 评测机
- 分数
- 40
- 总耗时
- 12ms
- 峰值内存
- 276.0 KiB