|  | 
|  | 
| back to board | I used to get WA on #14..after i fixed this problem i got AC Check those 2 particular cases:0
 3
 2
 3
 5
 the answer shoud be 1 2 3 [even if u can find sum 5 in 2 ways (2,3)and(5)]
 and
 5
 4
 2
 3
 4
 5
 the answer shoud be -1 because u can find sum 5 in 2 ways, and also sum 9 in 2 ways.
 
 Edited by author 17.03.2005 13:18
 | 
 | 
|