记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:16:26: 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 1ms 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. 1ms 256.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#5 Wrong Answer User output longer than standard answer. 15ms 256.0 KiB
#6 Wrong Answer User output longer than standard answer. 6ms 256.0 KiB
#7 Wrong Answer User output longer than standard answer. 20ms 384.0 KiB
#8 Wrong Answer User output longer than standard answer. 49ms 256.0 KiB
#9 Wrong Answer User output longer than standard answer. 15ms 256.0 KiB
#10 Wrong Answer User output longer than standard answer. 66ms 256.0 KiB

信息

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