ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 2117. Polyphemus' triples

Time limited
Posted by Тимур 24 Mar 2021 14:47
plese help test 104
Re: Time limited
Posted by tepamid 18 Jul 2023 22:31
Obviously sqrt(1e18) operations will TLE.
You need to do factorization smarter. Perhaps some divisors are not needed to find the solution?