You are viewing a single comment's thread. Return to all comments →
Your first loop can be changed to:
for(int i = 1; i < k; i++)
because A&B <= min(A,B)
Seems like cookies are disabled on this browser, please enable them to open this website
Day 29: Bitwise AND
You are viewing a single comment's thread. Return to all comments →
Your first loop can be changed to:
because A&B <= min(A,B)