Thank you. Added new random tests (total 100). 50 is True based on some approach which I used before. False cases split to 10 (previous version) and 40 random uniformly distributed numbers checked by reference solution.
Thank you. You're right. Random tests are not only random paraments, but also random order/results. I added some "shuffling" in random block to improve tests.
Thank you. Modified range for
False
test cases.Thank you. Added new random tests (total 100). 50 is
True
based on some approach which I used before.False
cases split to 10 (previous version) and 40 random uniformly distributed numbers checked by reference solution.Thank you. You're right. Random tests are not only random paraments, but also random order/results. I added some "shuffling" in random block to improve tests.
Thank you. Added new tests (for example, max
num
forbase**exp
7**(7*80+1)) to "prevent hack" solution.Thank you. Added new tests (for example num = 49 or 35^7+49). And now some old incorrect solutions aren't passing tests.
Thank you for feedback. I've changed name of function.