Advertisement
Guest User

sdagad

a guest
Feb 14th, 2018
206
0
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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement