solution to ps9 greedy fcn? My code cannot pass the test prog.
Try harder and experiment. If it doesn't pass, it means that you are missing something!
i've been working on this one for hours.I've read one related post and tested it,but failed.The algorithm of that one is much like mine...
Can you please provide a link to the ps9?
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00sc-introduction-to-computer-science-and-programming-spring-2011/unit-3/lecture-20-more-clustering/ Problem Set 9: Schedule optimization You mean the instruction?It's in this ocw page.One solution failed to the test is in the AttachFile.
hey, that's mine and it passes and it is fast!!
post yours using a code pasting site and we'll have a look at it http://dpaste.com http://pastebin.com http://pastie.org http://codepad.org http://ideone.com
Join our real-time social learning platform and learn together with your friends!