求调
查看原帖
求调
536617
AniuKarry楼主2022/6/10 21:56
#include<bits/stdc++.h>
using namespace std;
int main()
{
	double a,b,c;
	int p;
	cin>>a>>b>>c;
	p=(a+b+c)/2;
	printf("%.1f",sqrt(p*(p-a)*(p-b)*(p-c)));
	return 0;
	
}

why? 我不理解哪错了

2022/6/10 21:56
加载中...