记录详情

Wrong Answer

foo.c:2:5: warning: conflicting types for built-in function 'nan'; expected 'double(const char *)' [-Wbuiltin-declaration-mismatch]
    2 | int nan(int ei)
      |     ^~~
foo.c:2:1: note: 'nan' is declared in header '<math.h>'
    1 | #include <stdio.h>
  +++ |+#include <math.h>
    2 | int nan(int ei)
foo.c: In function 'nan':
foo.c:4:8: warning: variable 'fan' set but not used [-Wunused-but-set-variable]
    4 |  int j,fan;
      |        ^~~
foo.c: In function 'main':
foo.c:28:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   28 |  scanf("%d",&n);
      |  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 6ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Wrong Answer Read 42, expect 46. 119ms 256.0 KiB
#4 Wrong Answer Read 42, expect 44. 119ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
A5-2 超级素数的个数
比赛
中北 计算机2021级专业修读指导(3)
语言
C
递交时间
2021-12-17 00:14:28
评测时间
2021-12-17 00:14:28
评测机
分数
60
总耗时
248ms
峰值内存
256.0 KiB