求助大佬
查看原帖
求助大佬
205141
呵————楼主2020/5/16 21:15
#include<bits/stdc++.h>
using namespace std;
int main(){
    float a,b,c;
    cin>>a>>b>>c;
    float p=1/2*(a+b+c);
    printf("%.1f",sqrt(p*(p-a)*(p-b)*(p-c)));
	return 0;
}

为啥我0分

2020/5/16 21:15
加载中...