记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:20:13: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   printf("%lf\n",g);
           ~~^
           %d
foo.c:14:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d\n",&n);
  ^~~~~~~~~~~~~~~~
foo.c:18:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%lf %lf %lf %lf\n",&a[i],&b[i],&c[i],&d[i]);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.000000, expect 7.22. 1ms 308.0 KiB
#2 Wrong Answer Read 0.000000, expect 8.87. 0ms 308.0 KiB
#3 Wrong Answer Read 0.000000, expect 4.90. 0ms 256.0 KiB
#4 Wrong Answer Read 0.000000, expect 86.01. 0ms 308.0 KiB
#5 Wrong Answer Read 0.000000, expect 6.43. 1ms 308.0 KiB
#6 Wrong Answer Read 0.000000, expect 9.68. 0ms 256.0 KiB
#7 Wrong Answer Read 0.000000, expect 72.63. 0ms 308.0 KiB
#8 Wrong Answer Read 0.000000, expect 9.89. 0ms 256.0 KiB
#9 Wrong Answer Read 0.000000, expect 10.13. 1ms 308.0 KiB
#10 Wrong Answer Read 0.000000, expect 4.67. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1017 距离函数
语言
C
递交时间
2021-11-20 21:01:38
评测时间
2021-11-20 21:01:38
评测机
分数
0
总耗时
9ms
峰值内存
308.0 KiB