given n numbers such that their sum is not divisible by 4, remove k numbers such that after every removal, the sum of remaining numbers is not divisible by 4. find the maximal sum of n-k remaining numbers.
Answers
Answered by
0
Question:
given n numbers such that their sum is not divisible by 4, remove k numbers such that after every removal, the sum of remaining numbers is not divisible by 4. find the maximal sum of n-k remaining numbers.
Answer :
It may be 1,2 and 3 .
Because if it is 4 then it is divisible .
given n numbers such that their sum is not divisible by 4, remove k numbers such that after every removal, the sum of remaining numbers is not divisible by 4. find the maximal sum of n-k remaining numbers.
Answer :
It may be 1,2 and 3 .
Because if it is 4 then it is divisible .
Similar questions