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

Общий форум

1093 "dart" pisses me off
Послано Jivko Ganev 21 май 2001 04:23
I think its quite simple but I keep getting W.A. .
I solve it by using the fact that any point Q satisfies
(Q-C).N = 0, I substitute M with Q and get quadratic
equation except in the case when Nz = 0. I solve it and
verify for the roots if the distance is < r.
I verified my computations at least 3 times. Here are a, b,
c for the quad equation:
- 5 * nz,
vx * nx + vy * ny + vz * nz,
nx * (sx - cx) + ny * (sy - cy) + nz * (sz - cz).
I hope I didn't f#$!ed up the computations again, because I
usualy do it.
Please help!
Re: 1093
Послано LuoJi 21 май 2001 17:32
If the dart is on the plane at the beginning ,
u will also print it.
Thanks a lot man (-)
Послано Jivko Ganev 21 май 2001 20:47
> If the dart is on the plane at the beginning ,
> u will also print it.