fork(1) download
  1. #include <iostream>
  2. #include<iomanip>
  3. using namespace std;
  4. int main() {
  5. double d;
  6. cin >> d;
  7. cout << fixed << showpoint << setprecision(4) << "A=" << d*d*3.14159 << endl;
  8. return 0;
  9. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
A=0.0000