![]() |
#2
wp2319572019-01-31 10:50
|
输入格式:输入两个整数
输出格式:输出一个浮点数
样例输入:5 2
样例输出:2.500
以下是我写的编成
#include <cstdio>
using namespace std;
int main()
{ double a,b,c;
scanf("%lf%lf",&a,&b);
c=a/b;
printf("Area=%0.3lf\n",c);
return 0;
}
在xjoi上提交过,但显示为wrong anwser
是哪一步写错了吗?
[此贴子已经被作者于2019-1-31 11:27编辑过]