I tested this on single-core, not on pc. I will update code.
Type: Posts; User: Gasis
I tested this on single-core, not on pc. I will update code.
I've tested this code in Android os. If not multi-threading, what else could speed it up? Multi-threading is useful only for difficult operations like internet connection and so on, right?
OK, I understand that i'm doing many actions in my code, but shouldn't two threads do it faster?
P.S. The number is 7559 with 64 divisors.
Hi, i've came across an exercise to find what number from 1 to 10000 has maximum number of divisors.
Here's my solution:
public class Main {
// main method that is executed when program...