mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update backtracking/subset_sum.cpp
Co-authored-by: Abhinn Mishra <49574460+mishraabhinn@users.noreply.github.com>
This commit is contained in:
parent
39634ee98d
commit
0387dce9bd
@ -31,7 +31,7 @@ namespace subset_sum {
|
||||
* @returns count of the number of subsets with required sum
|
||||
*/
|
||||
|
||||
uint64_t subset_sum(int sum, const std::vector<int> &in_arr) {
|
||||
uint64_t subset_sum(uint64_t sum, const std::vector<uint64_t> &in_arr) {
|
||||
int nelement = in_arr.size();
|
||||
int count_of_subset = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user