Search found 47 matches

by dawynn
Thu Dec 20, 2007 4:12 pm
Forum: Bugs and suggestions
Topic: New Judge Site -- Forum?
Replies: 0
Views: 1238

New Judge Site -- Forum?

How about a link to this forum / electronic board on the new site?
by dawynn
Wed Dec 19, 2007 1:54 pm
Forum: Volume 2 (200-299)
Topic: 254 - Towers of Hanoi
Replies: 39
Views: 16621

OK -- posting my code is not my favorite option, but I'm at a loss for what is happening here. I run this on my Ubuntu Linux box with gcc / g++ 4.2 and everything works fine. I submit it to the judge, and he tells me Runtime Error. Admittedly -- C++ is not my primary programming language, so if anyo...
by dawynn
Wed Dec 12, 2007 5:37 pm
Forum: Volume 2 (200-299)
Topic: 254 - Towers of Hanoi
Replies: 39
Views: 16621

Waah! I was wrong. I just reread the problem. According to their "Algorithm", the smallest disk should alwasy move from A to B to C back to A. So, for an even number of disks, the disks will all end up on peg C. For an odd number of disks, the disks will all end up on peg B. That violates the classi...
by dawynn
Wed Dec 12, 2007 5:53 am
Forum: Volume 2 (200-299)
Topic: 254 - Towers of Hanoi
Replies: 39
Views: 16621

Couple hints: On the old Online Judge site, there is a link entitled "Methods to Solve" that gives some helpful advice on many problems. One thing it points out is that this is best solved with bit manipulation. Which makes sense. Think on this: the smallest ring moves every other turn. If there are...
by dawynn
Thu Oct 30, 2003 2:11 pm
Forum: Volume 1 (100-199)
Topic: 144 - Student Grants
Replies: 21
Views: 3577

Yup! That was my problem. Hmm. That should have happened in Unit Test too. Oh, well. I'm accepted now. Thanks!
by dawynn
Wed Oct 29, 2003 4:35 pm
Forum: Volume 1 (100-199)
Topic: 144 - Student Grants
Replies: 21
Views: 3577

144 -- Runtime Error??

Ok, this worked on my Debian Linux box, using the 3.3 GNU compilers, but Judge is giving me a runtime error: Your program has died with signal 8 (SIGFPE). Meaning: Floating point exception Before crash, it ran during 0.000 seconds. [cpp] // Problem solved. Code removed from board. [/cpp] Anyone see ...
by dawynn
Sun Oct 13, 2002 11:39 pm
Forum: Volume 1 (100-199)
Topic: 105 - The Skyline Problem
Replies: 160
Views: 28117

This is probably not the best algorithm -- but it should work. Create a 20001 integerarray. Set all values to 0 initially. As you read in each triplet, add 10000 to the starting and ending coordinates in the triple. This takes care of any cases where buildings are specified with negative start or en...
by dawynn
Thu Sep 26, 2002 1:16 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 20232

See my response in this other post:
http://acm.uva.es/board/viewtopic.php?t=1406
by dawynn
Thu Sep 26, 2002 1:10 pm
Forum: Volume 1 (100-199)
Topic: 103 - Stacking Boxes
Replies: 200
Views: 20232

Here's a general idea of this problem: 1) The order of the dimensions isn't important, so feel free to sort the dimensions of the box as you read it in. Since the dimensionality doesn't exceed 10, insert sorting is an easy to use method. 2) I sorted my boxes also, based on the first dimension (after...
by dawynn
Fri Sep 06, 2002 3:07 pm
Forum: Volume 1 (100-199)
Topic: 168 - Theseus and the Minotaur
Replies: 64
Views: 7702

I apologize. I misinterpreted your earlier message. Thank you for pointing that out to me. I'm assuming then that a) They corrected the data and b) Did a rejudgment without communictating with us. (Normally when a rejudgment occurs and it changes the result of a submission, we receive email communic...
by dawynn
Fri Sep 06, 2002 12:15 pm
Forum: Volume 1 (100-199)
Topic: 168 - Theseus and the Minotaur
Replies: 64
Views: 7702

So, documented bad problem description = my laziness? No, that doesn't seem right. Documented bad input data = my laziness? Hmm, that doesn't seem right either.
by dawynn
Tue Sep 03, 2002 1:43 am
Forum: Volume 1 (100-199)
Topic: 168 - Theseus and the Minotaur
Replies: 64
Views: 7702

OK, here's the kicker -- I see some people have actually been accepted recently. Anyone want to share any secrets on what assumptions need to be made? Maybe what corrections need to be made to the problem description?
by dawynn
Thu Aug 29, 2002 3:57 pm
Forum: Volume 1 (100-199)
Topic: 110 - Meta-Loopless Sorts
Replies: 92
Views: 7932

This is why we have Search functionality on this board. Before submitting a new thread, its always a good idea to see if someone has covered your problem before. If they have, see if your question about the problem has already been raised. Whether or not it has, questions about the same problem shou...
by dawynn
Sat Aug 17, 2002 4:39 am
Forum: Volume 1 (100-199)
Topic: 130 - Roman Roulette
Replies: 25
Views: 2386

Never mind. Got it figured out. Basically, I need to make sure not to count the guy that got killed when I'm looking for his replacement.

David
by dawynn
Fri Aug 16, 2002 4:27 pm
Forum: Volume 1 (100-199)
Topic: 111 - History Grading
Replies: 135
Views: 22347

Um... Because it didn't show up in the search. Is there something wrong with the search for this forum?

Go to advanced search