Блог пользователя kira

Автор kira, 13 лет назад, По-английски
In problem D. Rectangle and Square (http://codeforces.net/problemset/problem/136/D), for four co-planar points, to make a rectangle, I checked if the two shorter sides are equal, the two longer sides are equal, the diagonals are equal and the shorter side, longer side and the diagonal make a Pythagorean triangle, but my solution wasn't accepted. Is this sufficient condition for four points to make a rectangle? My solution id is 993121.

Полный текст и комментарии »

  • Проголосовать: нравится
  • -2
  • Проголосовать: не нравится