Advertisement
newb_ie

P1

Aug 16th, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. /*
  2. ======================
  3. [     ___T_          ]
  4. [    | 6=6 | =>HI :-)]
  5. [    |__o__|         ]
  6. [ >===]__o[===<      ]
  7. [     [o__]          ]
  8. [      .".           ]
  9. [      |_|           ]
  10. [                    ]
  11. ======================
  12.  */
  13.  
  14. #include<bits/stdc++.h>
  15. using namespace std;
  16. using lli = int64_t;
  17. int main(){
  18.      ios::sync_with_stdio(false);
  19.      cin.tie(nullptr);
  20.      cout.tie(nullptr);
  21.      int h,b,l;
  22.      cin >> h >> b >> l;
  23.      cout << sqrt(pow(h,2) + pow(b,2) + pow(l,2)) << "\n";
  24. }
  25.  
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement