Guest User

Untitled

a guest
Dec 13th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public class PopCntTest
  2. {
  3. public static void main(String[] args)
  4. {
  5. int result = 0;
  6. for (int i = 0; i < 1000000000; i++)
  7. {
  8. result += Integer.bitCount(i);
  9. }
  10.  
  11. if (result == 0)
  12. {
  13. throw new RuntimeException();
  14. }
  15. }
  16. }
Add Comment
Please, Sign In to add comment