记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:29: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'double*' [-Wformat=]
  scanf("%lf %lf %d",&a,&b,&n);
                           ~~^
foo.cc:11:22: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
  printf("%.*lf",n,a/b);}
                      ^
foo.cc:6:18: warning: unused variable 'e' [-Wunused-variable]
     double a,b,n,e;
                  ^
foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%lf %lf %d",&a,&b,&n);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 3.000000, expect 1.500. 2ms 384.0 KiB
#2 Wrong Answer Read 0.000000, expect 1. 2ms 336.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Wrong Answer Read 1.000000, expect 111111.0. 2ms 384.0 KiB
#5 Wrong Answer 0a1 > 0.7037037037037037201514 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1004 快速傅里叶变换
比赛
周末测试1
语言
C++
递交时间
2021-09-03 20:18:57
评测时间
2021-09-03 20:18:57
评测机
分数
60
总耗时
10ms
峰值内存
384.0 KiB