#include<iostream> using namespace std; int main(){ long double R; long double a=3.14159; cin>>R; cout<<"A="<<(long double)a*R*R<<endl; return 0; }
最终结果的小数点位数不对