1 条题解

  • 0
    @ 2025-11-28 14:26:54
    #include<bits/stdc++.h>
    using namespace std;
    int main()
    {
    	int x,y,r;
    	double s=0;
    	for(int i=0;i<2;i++){
    		cin>>x>>y>>r;
    		s+=3.14159265358979323846*r*r;
    	}
    	cout<<fixed<<setprecision(2)<<s<<endl;
    }
    

    [2023 校赛] The union and intersection of Circles

    信息

    ID
    1117
    时间
    1000ms
    内存
    256MiB
    难度
    10
    标签
    递交数
    6
    已通过
    4
    上传者