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

Обсуждение задачи 1328. Файрболл

Valentin Pimenov Question about output the angle. [3] // Задача 1328. Файрболл 17 фев 2005 13:47
>> Angle in degrees (with 2 digits after decimal point), that gives the desired direction of fireball. If there are several such angles your program should output the minimal one.

1. Could angle be negative?
2. If YES, then does angle should be minimal "BY MODULO" OR minimal "BY VALUE"?

Thanks.
Aleksey (BMSTU IU7) Re: Question about output the angle. [2] // Задача 1328. Файрболл 18 фев 2005 01:35
0.00<=Angle<360.0
Denis Koshman Re: Question about output the angle. [1] // Задача 1328. Файрболл 19 авг 2008 07:43
Rounded angle may probably become 360.00. Anyway, I had no protection against that and got AC.
Astekinane Re: Question about output the angle. // Задача 1328. Файрболл 8 окт 2011 18:15
When I add "if (fi==0) fi=360;" in my code I got WA#2, until this moment I got WA#14.

Edited by author 08.10.2011 18:16