JOIN
Get Time
forums  Revision History
Search My Post History  |  My Watches  |  User Settings
Forums TopCoder Cookbook Algorithm Competitions - Rewriting Phase Re: Iterating Over All Subsets of a Set Revision History (2 edits)
Re: Iterating Over All Subsets of a Set (response to post by sjsupersumit)
It's checking if bit k of i is set, since 1<<k == 2^k.>
Re: Iterating Over All Subsets of a Set (response to post by sjsupersumit)
It's checking if bit k of i is set, since 1<<k == 2^k>
Re: Iterating Over All Subsets of a Set (response to post by sjsupersumit)
It's checking if bit k of i is set