NYOJ 274 正三角形的外接圆面积
地址:http://acm.nyist.net/JudgeOnline/problem.php?pid=274
1 #include<stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 int n; 6 double m,pi=3.1415926; 7 scanf("%d",&n); 8 while(n--) 9 { 10 scanf("%lf",&m); 11 printf("%.2lf\n",(pi*m*m)/3.0); 12 } 13 //system("pause"); 14 return 0; 15 }