Merge pull request #1444 from ThirdGoddess/ThirdGoddess
Modify to prevent memory leaks.
This commit is contained in:
commit
6f9d13bfed
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user