记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:7:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'float *' [-Wformat=]
    7 |         scanf("%d",&k);
      |                ~^  ~~
      |                 |  |
      |                 |  float *
      |                 int *
      |                %e
foo.c:15:18: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   15 |         printf("%f",n);
      |                 ~^  ~
      |                  |  |
      |                  |  int
      |                  double
      |                 %d
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.000000, expect 45652. 1ms 256.0 KiB
#2 Wrong Answer Read 0.000000, expect 6810. 2ms 256.0 KiB
#3 Wrong Answer Read 0.000000, expect 24334. 2ms 256.0 KiB
#4 Wrong Answer Read 0.000000, expect 48600. 2ms 256.0 KiB
#5 Wrong Answer Read 0.000000, expect 51655. 2ms 256.0 KiB
#6 Wrong Answer Read 0.000000, expect 39240. 2ms 256.0 KiB
#7 Wrong Answer Read 0.000000, expect 21780. 2ms 256.0 KiB
#8 Wrong Answer Read 0.000000, expect 32911. 1ms 256.0 KiB
#9 Wrong Answer Read 0.000000, expect 42930. 1ms 256.0 KiB
#10 Wrong Answer Read 0.000000, expect 20682. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1001 级数求和
语言
C
递交时间
2022-08-16 22:57:08
评测时间
2022-08-16 22:57:08
评测机
分数
0
总耗时
22ms
峰值内存
256.0 KiB