Search found 108 matches

by Maarten
Sun Sep 28, 2003 4:03 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 181823

I solved the problem using "long long" data type in C++.. not sure if it's really necessary though
by Maarten
Sat Sep 27, 2003 10:10 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 38278

your algorithm is correct.. i couldn't spot a mistake but it might be that the minimum number of bottles to move might be bigger than 2000000000. I suggest you initialize it with k[1]
by Maarten
Sat Sep 27, 2003 5:30 pm
Forum: Volume 1 (100-199)
Topic: 120 - Stacks of Flapjacks
Replies: 118
Views: 13234

120 Stack of flap jacks WA ... please help me!!

I'm getting desperate here, after a day (!) of debugging... I really don't know what's wrong with my program, I even downloaded some test data from somewhere on the internet (http://contest.mff.cuni.cz/cgi-bin/archiver.cgi/archive/duke1993/duke1993.tgz?c.in), did an *exact* file compare between thei...

Go to advanced search