#include <stdio.h> 带飞你们这群傻逼 int main() { int a,b,c,d,e; scanf("%d %d %d %d",&a,&b,&c,&d); e=(a-c)*(a-c)+(b-d)*(b-d); printf("%d",e); return 0; }