Getting TLE in test 3 of Codeforces problem D).Two Divisors.

Revision en1, by Dontony, 2020-06-12 12:33:51

I am getting TLE on the codeforces problem Two Divisors from the recent educational contest. Link to the problem:- https://codeforces.me/problemset/problem/1366/D. Link to my submission:- https://codeforces.me/contest/1366/submission/83516292. Please suggest ways to optimize it.

Thank you.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Dontony 2020-06-12 12:33:51 358 Initial revision (published)