#include <iostream> using namespace std; int main(){ double r; cin >> r; // cout << "圆的面积 A=" << 3.14159 * r * r << endl;//方式1 printf("A = %.4lf",3.14159 * r * r );//方式2 return 0; }