Thank god hehe. I showed it to some friends and they were like "You don't have a chance source, it's over lol".Originally posted by Codeplug
It's not a submission into the contest, just an example.
Thank god hehe. I showed it to some friends and they were like "You don't have a chance source, it's over lol".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.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
> 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
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Then maybe as an exercise for me? I believe that's soon a topic at university.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
#3 sounded easier before I started trying to code it...What is "NP-Complete"?
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared
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
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared
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.
Last edited by dbgt goten; 12-06-2003 at 12:03 AM.
c++->visualc++->directx->opengl->c++;
(it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)
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
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
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
you get it Salem, right?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
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
cool, mine is the largest file, I guess because I filled it with comments, it's around 2000 without comments.