#include<stdio.h>
#define Pi 3.1415926
int main(){
int n;
double m,a; //m是double型变量
scanf("%d",&n);
while(n--){
scanf("%lf",&m);
a=m*m*Pi/3;
printf("%.2lf\n",a);
}
return 0;
}
#define Pi 3.1415926
int main(){
int n;
double m,a; //m是double型变量
scanf("%d",&n);
while(n--){
scanf("%lf",&m);
a=m*m*Pi/3;
printf("%.2lf\n",a);
}
return 0;
}