记录详情

Accepted

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 3ms 256.0 KiB

信息

递交者
类型
自测
题目
A5-2 超级素数的个数
语言
C
递交时间
2021-12-17 00:14:25
评测时间
2021-12-17 00:14:25
评测机
分数
10
总耗时
3ms
峰值内存
256.0 KiB