What does &= mean for integers?

Revision en1, by thebigjuicyd, 2020-06-05 16:23:48

I just participated in the Div 2 Algo Muse Comp and on question 3, you could use &=. But the &= was not used with booleans. It was used with int, like a &= n — 1; What does the &= mean and do in this int context?

Tags java

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English thebigjuicyd 2020-06-05 16:23:48 249 Initial revision (published)