Merge pull request #1444 from ThirdGoddess/ThirdGoddess

Modify to prevent memory leaks.
This commit is contained in:
Du Yuanchao 2020-08-31 18:53:18 +08:00 committed by GitHub
commit 6f9d13bfed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@ public class MinimumSumPartition
min = Math.min(min,(sum-2*ans[i]));
System.out.println(min);
}
sc.close();
}
static int[] subset(int arr[],int sum)
{