给定整数a1、a2、.......an,判断是否可以从中选出若干数,使它们的和恰好为K。
4 13
1 2 4 7
YES
2 4 7
若答案为两组 1,2 和 3
则输出1,2这一组答案
Anything about this OnlineJudge, Please Contact Administrator. Click add QQ
OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap
Copyright 2016 ACM算法攻关部cnt: 50235
关于网站改版