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

Обсуждение задачи 1074. Очень короткая задача

Test 12... it is smth horrible
Послано Burunduk1 24 дек 2006 21:09
Please, give me ANY hint...
My program passes (IMHO) all extremal tests (and, of course, all from previous posts)
Re: Test 12... it is smth horrible
Послано Azrail 25 дек 2006 10:44
If you help me to pass this f%^&*$# 1st test from 1257, I'll show you, where your mistake. azrail@hotbox.ru

P.S. Proposal works for all ^_^.

Edited by author 25.12.2006 10:52

Edited by author 25.12.2006 10:54
Re: Test 12... it is smth horrible
Послано Azrail 28 дек 2006 09:21
Check your mail.
Re: Test 12... it is smth horrible
Послано AXIS 4 янв 2007 23:22
I had problems with this test too, and just have understood, that my program don't work. =)

As i remember, i've AC it, when analyzed cases with E :

1e+0000000000000000000000001 (ans - 1)
or
100e-100000000000000000000000 (ans - 0)
or
0e100000000000000000 (ans - 0) - you may skip this test, my program failed it =)


Edited by author 04.01.2007 23:36
Re: Test 12... it is smth horrible
Послано Burunduk1 5 янв 2007 03:25
Thank you!

But:
>> 1e+0000000000000000000000001 (ans - 1)
Why not 10? 1*10^0000000000000000000000001 = 1*10^1 = 10
Re: Test 12... it is smth horrible
Послано AXIS 5 янв 2007 17:04
Oh, nevermind =)

try this one - 100e-00000000000000.

i suggest you to look at your real number checking.

i just added code in my program to pass number like "100." and it got WA12 =)

if you want, i'll post right number-cheking function

Edited by author 05.01.2007 17:05