|  | 
|  | 
| back to board | Why the sample output is 3 ? But not 2 ? The sample input is: 5  5  8  13  27  14output is: 3  !!!!
 But (5+5+13+14)=37
 (8+27)=35
 so 37-35=2!!!!!!!!!!!
 why is 3  ??
Re: Why the sample output is 3 ? But not 2 ? // the number of stones5
 
 // their weights
 5 8 13 27 14
Re: Why the sample output is 3 ? But not 2 ? oh,I see.Thank you!
 | 
 | 
|