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

Обсуждение задачи 2148. Безумный выстрел

WA8?
Послано Zergatul 15 окт 2020 03:33
I am checking possibility of shot, I am checking edge case (when shot just touches the tank). My geometry calculations use epsilon (also tried to adjust epsilon, didn't help). Tried to output results with 7 decimals. I am using double. What else I could miss?
Re: WA8?
Послано Kairom `Ekexity 💻 23 окт 2020 13:36
Are you sure that the size of your epsilon is enough? The angle might be too small. Place the tank and players on opposite sides of the map, and check your solution.

Edited by author 23.10.2020 13:36