Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //emin kocurme
- #include <bits/stdc++.h>
- using namespace std;
- double mesafe (double x1, double y1, double x2, double y2)
- {
- return sqrt((x1 - x2) * (x1 - x2) + (y1 - y2) * (y1 - y2));
- }
- int main()
- {
- int a, b, c;
- cin >> a >> b >> c;
- cout << (int)sqrt(a * a + b * b + c * c) << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement