/ Vijos /

记录详情

Runtime Error

foo.c: In function 'main':
foo.c:174:16: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
  174 |     printf("%.2f", result);
      |             ~~~^   ~~~~~~
      |                |   |
      |                |   int
      |                double
      |             %.2d
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.00, expect 2.00. 2ms 284.0 KiB
#2 Wrong Answer Read 0.00, expect FormulaException. 1ms 284.0 KiB
#3 Wrong Answer Read 0.00, expect ZeroException. 1ms 284.0 KiB
#4 Wrong Answer Read 0.00, expect 130.00. 1ms 284.0 KiB
#5 Wrong Answer Read 0.00, expect -1.00. 2ms 204.0 KiB
#6 Wrong Answer 1,2d0 < the stack is empty! < 2ms 284.0 KiB
#7 Wrong Answer User output longer than standard answer. 1ms 284.0 KiB
#8 Wrong Answer User output longer than standard answer. 1ms 284.0 KiB
#9 Wrong Answer Read 0.00, expect FormulaException. 1ms 204.0 KiB
#10 Wrong Answer Read 0.00, expect FormulaException. 2ms 284.0 KiB
#11 Wrong Answer User output longer than standard answer. 1ms 284.0 KiB
#12 Wrong Answer Read 0.00, expect FormulaException. 1ms 284.0 KiB
#13 Wrong Answer Read 0.00, expect FormulaException. 2ms 204.0 KiB
#14 Runtime Error Floating point exception 2ms 284.0 KiB
#15 Wrong Answer Read 0.00, expect 7.00. 1ms 284.0 KiB
#16 Wrong Answer Read 0.00, expect 0.26. 2ms 284.0 KiB
#17 Wrong Answer Read 0.00, expect FormulaException. 1ms 284.0 KiB
#18 Wrong Answer Read 0.00, expect FormulaException. 2ms 284.0 KiB
#19 Wrong Answer Read 0.00, expect FormulaException. 2ms 284.0 KiB
#20 Wrong Answer User output longer than standard answer. 1ms 284.0 KiB

信息

递交者
类型
递交
题目
P2019 表达式求值2
语言
C
递交时间
2023-10-24 20:30:26
评测时间
2023-10-24 20:30:26
评测机
分数
0
总耗时
38ms
峰值内存
284.0 KiB