|  | 
|  | 
| back to board | #13 When the number of compartments is 0 you should output 0 (not -1),maybe you guessed why i said "not -1",because when you output (Number_of_Compartments-1) the answer will be -1 because Number_of_Compartments=0 ,maybe it will help you.Good Luck!
Re: #13 Posted by evjava  3 Oct 2010 21:56Thank you!!Re: #13 Posted by llypd  10 Mar 2013 08:07Thank you | 
 | 
|