Computer Science Canada dwite 5, 2008 |
Author: | javaster [ Mon Oct 27, 2008 4:08 pm ] |
Post subject: | dwite 5, 2008 |
Does anyone have the solution to the problem? I have never been able to solve optimization problems like this one and I want to learn the idea behind the solution. If you have the solution, could you post it here? Thanks a lot. |
Author: | A.J [ Tue Oct 28, 2008 3:54 pm ] |
Post subject: | Re: dwite 5, 2008 |
Hanson, of woburn collegiate institute, solved it. He only got 1/5 testcases, eventhough it works for everything!!! I have no idea why! (u can look at his code for #5. his team name is 'hanson') |
Author: | javaster [ Mon Nov 24, 2008 4:39 pm ] |
Post subject: | RE:dwite 5, 2008 |
Thanks a lot! |
Author: | Dan [ Mon Nov 24, 2008 5:32 pm ] |
Post subject: | Re: dwite 5, 2008 |
A.J @ 28th October 2008, 3:54 pm wrote: He only got 1/5 testcases, eventhough it works for everything!!! It looks like he got 5/5 to me, unless you mean one of his submsions got 1/5 and then he fixed it to get 5/5. |
Author: | DanielG [ Mon Nov 24, 2008 6:16 pm ] |
Post subject: | RE:dwite 5, 2008 |
Hanson didn`t get perfecd on the October dwite, he would have if he had removed the cin.ignore(). |
Author: | Dan [ Mon Nov 24, 2008 7:37 pm ] |
Post subject: | RE:dwite 5, 2008 |
Ah sorry for some reason i thought this was about the november contest. My bad. |