mirror of
https://gitee.com/arthas/arthas.git
synced 2024-11-30 03:07:37 +08:00
make MathGame faster
This commit is contained in:
parent
3a27075987
commit
f73bf96955
@ -20,7 +20,7 @@ public class MathGame {
|
||||
|
||||
public void run() throws InterruptedException {
|
||||
try {
|
||||
int number = random.nextInt();
|
||||
int number = random.nextInt()/10000;
|
||||
List<Integer> primeFactors = primeFactors(number);
|
||||
print(number, primeFactors);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user