Untitled

mail@pastecode.io avatar
unknown
plain_text
8 months ago
186 B
0
Indexable
Never
#include <iostream>
using namespace std;

int main()
{
	int X1, X2, Y1, Y2, dlina;
	cin >> X1 >> X2 >> Y1 >> Y2;
	cout<<dlina = sqrt ((X1 - X2)(X1 + X2)(Y1 - Y2)(Y1 + Y2));
}