#include<iostream>
#define PI 3.1415926;
using namespace std;
int main()
{
int n;
double v,r;
cin>>n;
for(int i=0;i<n;i++)
{
cin>>r;
v=4.0*PI*r*r*r/3.0;
int V=v+0.5;
cout<<V<<endl;
}
return 0;
}
#include <iostream>
#include<assert.h>
#include<cstring>
#include<stdio.h>
#include<stdlib.h>
using namespace std;
const int stackIncreament=20; //栈溢出时扩展空间的增量
const int maxLength=100; //最大字符串长度
template<class T>
class SeqStack
{
private:
...