dwite 5, 2008
Author |
Message |
javaster
|
Posted: 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. |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
A.J

|
Posted: 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') |
|
|
|
|
 |
javaster
|
Posted: Mon Nov 24, 2008 4:39 pm Post subject: RE:dwite 5, 2008 |
|
|
Thanks a lot! |
|
|
|
|
 |
Dan

|
Posted: 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. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
 |
DanielG
|
Posted: 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(). |
|
|
|
|
 |
Dan

|
Posted: 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. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
 |
|
|