Skip to content

Commit

Permalink
Update minimaxsum.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmres authored Aug 23, 2020
1 parent 43a7225 commit 40edbf1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion minimaxsum.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ static void miniMaxSum(int[] arr) {
long sumMax = 0;
Array.Sort(arr);
for (int i = 1; i < arr.Length; i++) {

sumMax += arr[i];
}
for (int i = 0; i < arr.Length-1; i++) {
Expand Down

0 comments on commit 40edbf1

Please sign in to comment.