Guest User

Untitled

a guest
Nov 18th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. double r;
  8. int a;
  9. cin >> a;
  10. a=a*a+a*a*a*a;
  11. r=sqrt(a);
  12. cout << (int)((3*a)/(a+r)+r);
  13. return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment