记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:12:13: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'double' [-Wformat=]
   printf("%ld\n", fibs(n)-pow(2,n-4)+1);
           ~~^     ~~~~~~~~~~~~~~~~~~~~
           %f
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1073741824, expect 12. 0ms 312.0 KiB
#2 Wrong Answer Read 4620693217682128896, expect 37. 1ms 464.0 KiB
#3 Wrong Answer Read 4661225614328463360, expect 5842. 1ms 256.0 KiB
#4 Wrong Answer Read 4679240012837945344, expect 55405. 0ms 256.0 KiB
#5 Wrong Answer Read 4719772409484279808, expect 8745217. 32ms 300.0 KiB

信息

递交者
类型
递交
题目
P1105 6-4 步子走大了有点累
语言
C
递交时间
2021-10-31 10:41:43
评测时间
2021-10-31 10:41:43
评测机
分数
0
总耗时
36ms
峰值内存
464.0 KiB