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

Обсуждение задачи 1468. Дробь

I have WA#1
Послано Dembel {AESC USU} 25 дек 2006 11:40
for input "10000 9999 10" my prog gives "1.(0001)".
But I have WA#1.
help me!

Edited by author 25.12.2006 11:40
Re: I have WA#1
Послано Sandro (USU) 25 дек 2006 21:22
And what about 1000 9999 10 ?

Good luck!
Fixed.
Послано Dembel {AESC USU} 25 дек 2006 21:56
Correct answer is 0.1(0001),isn't it?

Thank you. but I have WA#1.
Please give me some test or hint

Edited by author 25.12.2006 22:02
What answer
Послано Dembel {AESC USU} 25 дек 2006 22:17
Input
9800 9999 10
0 0
output
0.98(0098)
or
0.9(8009)
is it true?
Послано Dembel {AESC USU} 25 дек 2006 23:22
input
4 4095 4
1 9999 10
10 9999 10
100 9999 10
1000 9999 10
10000 9999 10
9800 9999 10
3 2 8
0 0
output
0.00001(000001)
0.(0001)
0.001(0001)
0.01(0001)
0.1(0001)
1.(0001)
0.9(8009)
1.4
this output is correct,isn't it?
Re: What answer
Послано Sandro (USU) 25 дек 2006 23:31
Correct answer for "1000 9999 10" is 0.(1000), not 0.1(0001). In another example 0.(9800) is correct, not 0.98(0098).
Re: What answer
Послано C-- AESC USU {Kurpilyanskij Gein Parfenenkov} 25 дек 2006 23:34


Edited by author 25.12.2006 23:41
Re: is it true?
Послано C-- AESC USU {Kurpilyanskij Gein Parfenenkov} 25 дек 2006 23:38
Correct output
0.(000010)
0.(0001)
0.(0010)
0.(0100)
0.(1000)
1.(0001)
0.(9800)
1.4
Re: What answer
Послано Dembel {AESC USU} 25 дек 2006 23:40
why?
'The output must not contain insignificant zeros.'
0.(1000) contain 3 zeroes on the end, don't it?

sorry bad English.

Edited by author 25.12.2006 23:42
Re: What answer
Послано Dembel {AESC USU} 25 дек 2006 23:41
Thank you I got AC.
Re: is it true?
Послано Varun Kumar(Fundu) 30 мар 2009 21:37
I have checked all the anwers in this post all are working fine and sample input is working fine still I got WA1??

Any idea for test1...
please provide some rigourous test
Re: is it true?
Послано kaa..........ai 12 янв 2015 22:27
Thank you!AC now!

Edited by author 12.01.2015 23:19