General
 
 
# Author Problem Lang Verdict Time Memory Sent Judged  
255861718 Virtual:
Kvadratuku: kapopenko, Gegedosh, MakShon#
1688B - 44 Python 3 Accepted 155 ms 26152 KB 2024-04-09 13:56:24 2024-04-09 13:56:24
→ 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