4 ms·Instead of int runs = (int) Math.random() * 1000000; You'd do int runs = (int) (Math.random() * 1000000);by Thasc 15y agoInstead of int runs = (int) Math.random() * 1000000; You'd do int runs = (int) (Math.random() * 1000000);