#include #include #include using namespace std; #define Pi acos(-1) int main() { int cas; double L,R,rarea,larea; cin>>cas; while(cas--) { cin>>L; R = L/5; rarea = Pi*R*R; larea = ((((6*L)/10)*L)-rarea); printf("%.2lf %.2lf\n",rarea,larea); } return 0; }