整个人懵B住了
查看原帖
整个人懵B住了
1284486
liyunxiao_ycy楼主2024/5/22 19:38
#include<bits/stdc++.h>
using namespace std;
int x1,x2,x3,y1,y2,y3,a,h;
double s;
int main()
{
	cin >> x1 >> y1 >> x2 >> y2 >> x3 >> y3;
	a = x2 - x1;
	h = y3 - y2;
	s = a * h / 2;
	cout << s;
	return 0;
}

为什么CE???

2024/5/22 19:38
加载中...