n_bool's blog

By n_bool, 14 years ago, In Russian

ax=(x2-x)*(x2-x);

ay=(y2-y)*(y2-y);

ans=(int)sqrt((ax+.0)+(ay+.0));

Tags c++
  • Vote: I like it
  • -39
  • Vote: I do not like it