SHARE
TWEET

sdagad

a guest Feb 14th, 2018 141 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //emin kocurme
  2. #include <bits/stdc++.h>
  3. using namespace std;
  4. double mesafe (double x1, double y1, double x2, double y2)
  5. {
  6.   return sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
  7. }
  8. int main()
  9. {
  10.   int a, b, c;
  11.   cin >> a >> b >> c;
  12.   cout << (int)sqrt(a * a + b * b + c * c) << endl;
  13.   return 0;
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top