Bit Count
Given an array A having Nintegers and a function f(«), where
ath
bit is set
f(x) = count of numbers in array for which z
Find out the maximum value of f(t), where 0 <I<31
Input format
• The first line consists of a single integer denoting N.
• The second line consists of N space-separated integers denoting the array A
Output format
Print the required answer.
Constraints
ISN<105
15A 232
Answers
Answered by
0
Answer:
Sorryyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Similar questions
Political Science,
3 months ago
Science,
3 months ago
Business Studies,
3 months ago
Science,
6 months ago
English,
6 months ago
Math,
11 months ago
English,
11 months ago