Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class PopCntTest
- {
- public static void main(String[] args)
- {
- int result = 0;
- for (int i = 0; i < 1000000000; i++)
- {
- result += Integer.bitCount(i);
- }
- if (result == 0)
- {
- throw new RuntimeException();
- }
- }
- }
Add Comment
Please, Sign In to add comment