General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
159627682 Practice:
Maximilian06
1688B - 44 Python 3 Accepted 139 ms 17496 KB 2022-06-06 15:21:11 2022-06-06 15:21:11
→ Source
for s in[*open(0)][2::2]:b=min(a:=[x&-x for x in
map(int,s.split())]);print(len(a)+min(k:=bin(b)[::-1].find('1')-1,k*a.count(b)))
?
Time: ? ms, memory: ? KB
Verdict: ?
Input
?
Participant's output
?
Jury's answer
?
Checker comment
?
Diagnostics
?
Click to see test details