外交部:已确认有3名中国公民在巴以冲突中不幸遇难 2人失联
2025-01-24 16:18
1.acosԴ?源码92g 源码?༭
acosԴ??༭
我把源代码也放出来:#include<iostream>
#include<cmath>
#include<cstdio>
#define PI acos(-1)
using namespace std;
int main()
{
double a1 = 4;
double a2 = 2;
double x = 0;
double y = 0;
x = (pow(a1, 2) - pow(a1, 2) * PI / 4 + pow(a1, 2) * PI / 4 / 3 - a1 - 2 * (sqrt(pow(a1, 2) - pow(a2, 2)) - 2)) / 2;
y = pow(a2, 2) - pow(a2, 2) * PI / 4 - x;
double s = fabs(x - y);
printf("%.4lf\n", s);
return 0;
}
2025-01-24 16:41
2025-01-24 16:39
2025-01-24 15:57
2025-01-24 15:39
2025-01-24 15:09
2025-01-24 14:43
2025-01-24 14:40
2025-01-24 14:25