记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:16:43: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   16 |                 printf(" 最后一位非零数是%d ", b);
      |                                          ~^    ~
      |                                           |    |
      |                                           int  long long int
      |                                          %lld
foo.c:18:34: warning: implicit declaration of function 'pow' [-Wimplicit-function-declaration]
   18 |                 for(c=1;c!=0;c=b/pow(10,n))
      |                                  ^~~
foo.c:2:1: note: include '<math.h>' or provide a declaration of 'pow'
    1 | #include <stdio.h>
  +++ |+#include <math.h>
    2 | 
foo.c:18:34: warning: incompatible implicit declaration of built-in function 'pow' [-Wbuiltin-declaration-mismatch]
   18 |                 for(c=1;c!=0;c=b/pow(10,n))
      |                                  ^~~
foo.c:18:34: note: include '<math.h>' or provide a declaration of 'pow'
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB
#5 Wrong Answer User output longer than standard answer. 16ms 256.0 KiB
#6 Wrong Answer User output longer than standard answer. 7ms 256.0 KiB
#7 Wrong Answer User output longer than standard answer. 24ms 256.0 KiB
#8 Wrong Answer User output longer than standard answer. 41ms 256.0 KiB
#9 Wrong Answer User output longer than standard answer. 27ms 256.0 KiB
#10 Wrong Answer User output longer than standard answer. 58ms 256.0 KiB

信息

递交者
类型
递交
题目
P1035 s-0-6之阶乘问题
语言
C
递交时间
2022-09-26 22:30:59
评测时间
2022-09-26 22:30:59
评测机
分数
10
总耗时
184ms
峰值内存
256.0 KiB