C. The Blood Moon(数学几何)

C. The Blood Moon(数学几何)C. The Blood Moon(数学几何)C. The Blood Moon(数学几何)
题意就是这个:
C. The Blood Moon(数学几何)
直接S(AFGA)-S(AEHA)就是答案了;
所以最后答案就是一个公式:r*r/4;直接输出就完了

#include<bits/stdc++.h>
using namespace std;
int main(){
	int t,g=1;
	scanf("%d",&t);
    while(t--){
    	  double r;
    	  scanf("%lf",&r);
    	  printf("Case %d: %0.4lf\n",g++,r*r/4);
	}   
	return 0;
}
上一篇:Medical Mold - How To Use Different Blood Collection Needles


下一篇:L452 Micro-Plastics Are Entering the Human Body and Are Dangerous to Human Health