记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:23:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   23 |     if(b=1)
      |        ^
foo.c:4:12: warning: variable 'a' set but not used [-Wunused-but-set-variable]
    4 |  int i,b,x,a;
      |            ^
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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Wrong Answer Read Yes, expect No. 1ms 256.0 KiB
#4 Wrong Answer Read Yes, expect No. 1ms 256.0 KiB
#5 Wrong Answer Read Yes, expect No. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
A5-1 超级素数判断
比赛
中北 计算机2021级专业修读指导(3)
语言
C
递交时间
2021-12-16 23:02:41
评测时间
2021-12-16 23:02:41
评测机
分数
40
总耗时
9ms
峰值内存
256.0 KiB