Search found 21 matches

by fernando
Thu May 18, 2006 8:11 pm
Forum: Volume 1 (100-199)
Topic: 106 - Fermat vs. Pythagoras
Replies: 138
Views: 12821

most problems in UVA will show Time Limit Exceeded if they run for more than 10 seconds, so maybe you are misunderstanding the meaning of your result, it means that your program ran during 10.1 seconds, and as it didn't finish you got Time Limit Exceeded, the exact time your program solved the probl...
by fernando
Mon May 15, 2006 3:55 am
Forum: Volume 5 (500-599)
Topic: 501 - Black Box
Replies: 35
Views: 16293

stuck

i have tried this problem and i always get WA. Basically i am using a STL multiset and an iterator to the current element, whenever i a process a GET command i just print the content of the iterator and increment the iterator, and whenever i insert an element less than the element currently pointed ...
by fernando
Thu Apr 27, 2006 6:41 am
Forum: Algorithms
Topic: Computing the partition function.
Replies: 11
Views: 1944

Thanks Timo & misof, only one question misof, just to be sure, does it suppose that p(n) is the sum of all elements in the n-th row of the matrix right?
by fernando
Mon Apr 24, 2006 11:10 pm
Forum: Algorithms
Topic: Computing the partition function.
Replies: 11
Views: 1944

Computing the partition function.

Does anyone knows an eficient way to calculate the partition function p(n), namely the number of ways you can sum positive integers that add up to n?
by fernando
Fri Apr 14, 2006 5:53 am
Forum: Other words
Topic: 2007 world finals IN JAPAN?
Replies: 20
Views: 10648

2007 world finals IN JAPAN?

i'm just curious, ICPC world finals was in San Antonio, i want to know if any of you know where will it be held in 2007...
by fernando
Sat Mar 18, 2006 8:32 pm
Forum: Volume 110 (11000-11099)
Topic: 11012 - Cosmic Cabbages
Replies: 29
Views: 9015

11012 - Cosmic Cabbages

Hi, any ideas how to solve this problem?, during contest i used the next algo: i determine the points who are "extreme", with extreme i want to mean the points with the minimum and maximum X,Y,Z coordinates, intituitively i thought that the two points with maximum distance are in this set, but i got...

Go to advanced search