then think about a = {1, 3, 2} and M = {3, 4}
a' = {1, 3}, M' = {3} is a valid solution for n = 2. However, 4 = 1 + 3, and there is no way to fix it by changing the order of 3 and 2.
回複:回複:回複:Problem 6
所有跟帖:
• 回複:回複:回複:回複:Problem 6 -屋漏痕- ♂ (79 bytes) () 07/28/2009 postreply 10:07:10
• still off a littlt bit. -屋漏痕- ♂ (0 bytes) () 07/28/2009 postreply 10:58:07