/ Vijos /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:16:15: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   16 |     printf("%lf", single(output, 0, strlen(output)));
      |             ~~^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |               |   |
      |               |   int
      |               double
      |             %d
foo.c:12:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   12 |     scanf("%s", input);
      |     ^~~~~~~~~~~~~~~~~~
foo.c: In function 'single':
foo.c:114:1: warning: control reaches end of non-void function [-Wreturn-type]
  114 | }
      | ^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.000000, expect 2.00. 2ms 256.0 KiB
#2 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#3 Wrong Answer Read 0.000000, expect ZeroException. 2ms 256.0 KiB
#4 Wrong Answer Read 0.000000, expect 130.00. 1ms 256.0 KiB
#5 Wrong Answer Read 0.000000, expect -1.00. 2ms 256.0 KiB
#6 Wrong Answer Read 0.000000, expect 0.00. 2ms 256.0 KiB
#7 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#8 Wrong Answer Read 0.000000, expect FormulaException. 1ms 256.0 KiB
#9 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#10 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#11 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#12 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#13 Wrong Answer Read 0.000000, expect FormulaException. 1ms 256.0 KiB
#14 Wrong Answer Read 0.000000, expect ZeroException. 1ms 384.0 KiB
#15 Wrong Answer Read 0.000000, expect 7.00. 2ms 256.0 KiB
#16 Wrong Answer Read 0.000000, expect 0.26. 1ms 256.0 KiB
#17 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#18 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#19 Wrong Answer Read 0.000000, expect FormulaException. 2ms 256.0 KiB
#20 Wrong Answer Read 0.000000, expect -4.00. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P2019 表达式求值2
语言
C
递交时间
2022-05-01 19:16:31
评测时间
2022-05-01 19:16:31
评测机
分数
0
总耗时
44ms
峰值内存
384.0 KiB