Thank god hehe. I showed it to some friends and they were like "You don't have a chance source, it's over lol".Quote:
Originally posted by Codeplug
It's not a submission into the contest, just an example.
Printable View
Thank god hehe. I showed it to some friends and they were like "You don't have a chance source, it's over lol".Quote:
Originally posted by Codeplug
It's not a submission into the contest, just an example.
For problem #3, are we allowed to rotate the box in any direction including up? And isn't the 3D bin packing problem NP-complete?
I'm pretty sure it is. Which is why I certainly won't enter #3.
> For problem #3, are we allowed to rotate the box in any direction including up?
Yes
> And isn't the 3D bin packing problem NP-complete?
Yes
It's your basic classical knapsack problem
Then maybe as an exercise for me? I believe that's soon a topic at university.
#3 sounded easier before I started trying to code it...What is "NP-Complete"?
That means its both "NP" and "NP-Hard". :)
Read this starting at #7.
gg
Er ok...Most of that went over my head except:
>>the class of those "hardest" problems in NP is known as NP-complete problems
:eek:
I've just submitted my entry for #1, and I want to make sure you got it Salem.
and i've pm'ed you my entry for #2 as well.
EDIT: I just found the email info for entry submissions hidden on the first page. I've scanned that page like 4 times before i found it. wierd. Anywho i've sent an email as well.
Just a quick question: How should the files be submitted? Can I tar the files? Can I submit the makefile too? Or do you only want the source code files?
I'm not sure if I'll be done with the file(s) before the deadline, but as a newbie to contests my questions stil stands for future contests. :)
> How should the files be submitted?
Send them as an attachment in an email to salem - at - cprogramming.com
You can zip or tar them if you want, but it should not be necessary for a couple of small-ish source files.
That is, unless you've obfuscated your code by hiding it in a megabyte of comments :D
A makefile / project file isn't necessary - I'm only expecting one file for each of the first two entries. The third one may be several files, but I'll just compile all the files submitted.
Don't forget to mention your nickname, if that isn't obvious from your address or filenames
Eg
salem_xmastree.c
you get it Salem, right?Quote:
Originally posted by glUser3f
I've just submitted my entry for #1, and I want to make sure you got it Salem.
Mine is named xmastree.cpp, should I rename it and send it agian? Or you can do it?
> you get it Salem, right?
Yes.
The entries I have so far (possibly renamed) are as follows (file size and entrant).
Code:2356 CornedBee_xmastree.cpp
1465 curlious_tree.cpp
3071 DavT_xmastree.c
2250 dbgtgoten_xmassong.cpp
5950 glUser3f_xmastree.cpp
1399 Magos_ChristmasSong.cpp
2907 Magos_ChristmasTree.cpp
2007 major_small_xmassong.cpp
1665 Prelude_xmastree.c
1854 Sangdrax_xmassong.cpp
3898 Thantos_xmassong.c
cool, mine is the largest file, I guess because I filled it with comments, it's around 2000 without comments.