Ad
  • Custom User Avatar

    Well, do you think it is possible to pass the tests without the math background that i don't have, (i have near no math education) ?

    Is there any clever other trick that would make a python implementation able to pass the tests without timeouts ?

    I don't find any more optimization i could bring to my ignorant "brute force" approach of this problem :(

    Is there some wikipedia math info that i could study that would hint me ?