ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1074. Very Short Problem

Test 12... it is smth horrible
Posted by Burunduk1 24 Dec 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
Posted by Azrail 25 Dec 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
Posted by Azrail 28 Dec 2006 09:21
Check your mail.
Re: Test 12... it is smth horrible
Posted by AXIS 4 Jan 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
Posted by Burunduk1 5 Jan 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
Posted by AXIS 5 Jan 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