Search found 10 matches

by danifart
Fri May 14, 2004 5:16 am
Forum: Volume 103 (10300-10399)
Topic: 10375 - Choose and divide
Replies: 23
Views: 16464

Hi again!

I did it as you said, with the mantissa and the exponent, I get correct solution for all the example Input cases (although that's not too much difficult ;) ) and for the Input from saiqbal: 9999 5000 9999 5256 which outputs exactly: 521350.34067

So I can't get the input that makes it ...
by danifart
Wed May 12, 2004 10:55 pm
Forum: Volume 103 (10300-10399)
Topic: 10375 - Choose and divide
Replies: 23
Views: 16464

Thx 4 the answer, I hope you meant the mantissa to be a number betwen 0.0 and 1.0, didn't you?
by danifart
Wed May 12, 2004 6:57 pm
Forum: Volume 103 (10300-10399)
Topic: 10375 - Choose and divide
Replies: 23
Views: 16464

Does anybody know how to manipulate such big integers with the input saiqbal gave?? (9999 5000 9999 5256). Using doubles it's impossible! do I have to use an integer matrix or anything like that??
by danifart
Tue Apr 20, 2004 7:31 pm
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25422

How did you do to find the minimum distance between Aliens? My spanning tree only works when the map is small, but with my test case it overflows!

Thx.
by danifart
Tue Apr 20, 2004 12:40 am
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25422

How did you do to find the minimum distance between nodes?
by danifart
Mon Apr 19, 2004 8:48 pm
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25422

Again, the test case...:


20 24
###################
# # # #
# ####A A#### #
# A # # # # A #
# A# # # #A #
# A # #A# # A #
# # ### ### # #
######A A S A A####
#AA A# ### ### # #
# A # #A# # A #
####AAA# # # #A #
# A A# # # # A #
# ####A A#### #
# # # #
# # # #
# #
# AA A #
# #
# #
# A ...
by danifart
Mon Apr 19, 2004 8:45 pm
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25422

10307 - Killing Aliens in Borg Maze(+100 hours) (2)

Wow, it seems that the original post crashed! (Time Limit Exceeded x__DDDD). Ok, I wrote the following test case:

20 24
###################
# # # #
# ####A A#### #
# A # # # # A #
# A# # # #A #
# A # #A# # A #
# # ### ### # #
######A A S A A####
#AA A# ### ### # #
# A # #A# # A #
####AAA# # # #A ...
by danifart
Mon Apr 19, 2004 8:30 pm
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25422

mmmmmm, yeah that's right....but then... Who can break my code??
by danifart
Mon Apr 19, 2004 11:40 am
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25422

Thank you everybody for your answers. I found my mistake in my code, I misunderstood the problem and made the Borgs split in a maximum of two groups at the start or at an Alien instead of splitting in N groups. I think now that my algorithm is correct (it yields 10 in the CiDMA test case) with one ...
by danifart
Fri Apr 02, 2004 5:39 am
Forum: Volume 103 (10300-10399)
Topic: 10307 - Killing Aliens in Borg Maze
Replies: 54
Views: 25422

10307 - Killing Aliens in Borg Maze(+100 hours with this!!!)

I have spent more than 100 hours in this problem, may be it's too much for me but I would like to have it accepted! I can't find why the judge is giving me WA! I don't ask you to understand my code but to find a test case which makes the algorithm fail, because I can't find the error.

I use a ...

Go to advanced search