Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:8:29: warning: format '%f' expects argument of type 'float*', but argument 2 has type 'double*' [-Wformat=] scanf("%1f,%1f,%c",&a,&b,&c); ^ /in/foo.cc:8:29: warning: format '%f' expects argument of type 'float*', but argument 3 has type 'double*' [-Wformat=] /in/foo.cc:6:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] double a,b,result; ^~~~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1028 简单计算器
- 语言
- C++
- 递交时间
- 2021-11-20 10:24:59
- 评测时间
- 2021-11-20 10:24:59
- 评测机
- 分数
- 0
- 总耗时
- 9ms
- 峰值内存
- 376.0 KiB