|
|
вернуться в форумWho can give me a good hint about this problem, have no idea how to solve it :) (-) But I sent you some hints,didn't I? > Re: Who can give me a good hint about this problem, have no idea how to solve it :) (-) I can but my solution isn't the best (my program ran 3 seconds) Re: Who can give me a good hint about this problem, have no idea how to solve it :) (-) all you have to do is to find the least divisor of k and the answer is (divisor-1) or (k-1) if k is a prime number |
|
|