ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1566. Треугольные открытки

A. Babenko, A. Mansurov Kyr-Rus Slav U Re: Can anyone offer some tricky datas? [3] // Задача 1566. Треугольные открытки 6 окт 2007 15:47
1000 1000 2
1000 1000 1
NO
Tural Neymanov NO? I thought it is YES. // Задача 1566. Треугольные открытки 3 янв 2008 00:32
Are you sure?
Can you explain, why?
Yashar Abbasov Re: Can anyone offer some tricky datas? [1] // Задача 1566. Треугольные открытки 3 янв 2008 19:48
Yeah exactly why NO? If you put them as two triangles with two equal sides with 1000 mm long then the answer will be YES. And the bases should be 2 and 1.
ans: NO

[height of postcard] sqrt(999999.75) > [height of envelope] sqrt(999999)
with the bases 1 and 2.

Edited by author 14.08.2011 02:04

Edited by author 14.08.2011 02:04

Edited by author 14.08.2011 02:06
3 4 5
2.7784887979 3.6878177829 4.2

ans: YES
This test is incorrect, sides of triangles must be integer numbers.

Edited by author 16.08.2011 14:59
Yes. But it checks the case when the edges don't have to be aligned at a common vertex instead centrally.

Edited by author 16.08.2011 15:35
Can you help me with WA16?