[Help Needed] Ant Colony

Revision en2, by NSG_SYPHER, 2022-06-28 06:14:48

My solution is not giving correct output (Maybe I am doing something wrong in the counting of numbers equal to gcd over a range. It would very helpful if anyone can tell me what's wrong in the solution. Thank you

Problem https://codeforces.com/contest/474/problem/F

Solution-> https://ideone.com/SD1Zmh

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English NSG_SYPHER 2022-06-29 19:21:15 14
en2 English NSG_SYPHER 2022-06-28 06:14:48 38
en1 English NSG_SYPHER 2022-06-26 16:58:43 306 Initial revision (published)