fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main() {
  6. long double x, y, z;
  7. cin>>x>>y>>z;
  8. long double a, b;
  9. long double e;
  10. a = x*atan(y) - pow(M_E,(1-z));
  11. b =(sqrt(abs(3-x*x))-pow(abs(y-x),1.0/3))/(1-x*x/2 + y*y/4 - z*z/8);
  12. cout<<a<<endl;
  13. cout<<b<<endl;
  14. return 0;
  15. }
Success #stdin #stdout 0s 3460KB
stdin
7 11 21
stdout
10.361
-0.107389