fork(2) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. // INPUT
  7. int r = 10;
  8. // ALGORITHM
  9. double A = r * r * 3.14;
  10. // OUTPUT
  11. cout << A << endl;
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
314