This question already has an answer here:
Can someone explain the working of this kind of for loop? for(int i=0;i<(1<<n);i++) Also in if else statement
for(int i=0;i<(1<<n);i++)
if((i & (1<<j))>0)
Aucun commentaire:
Enregistrer un commentaire