记录详情

Wrong Answer

foo.c:3:6: warning: return type of 'main' is not 'int' [-Wmain]
    3 | void main()
      |      ^~~~
foo.c: In function 'main':
foo.c:16:9: warning: too many arguments for format [-Wformat-extra-args]
   16 |  printf("Yes\n",m);
      |         ^~~~~~~
foo.c:18:9: warning: too many arguments for format [-Wformat-extra-args]
   18 |  printf("No\n",m);
      |         ^~~~~~
foo.c:19:9: warning: 'return' with a value, in function returning void [-Wreturn-type]
   19 |  return 0;
      |         ^
foo.c:3:6: note: declared here
    3 | void main()
      |      ^~~~
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%d",&m);
      |  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 268.0 KiB
#3 Wrong Answer Read Yes, expect No. 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Wrong Answer Read Yes, expect No. 2ms 256.0 KiB

信息

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