Please read the new rule regarding the restriction on the use of AI tools. ×

Segment Tree problem from CODECHEF

Revision en1, by Tobby_And_Friends, 2016-10-05 22:07:47

Problem Name: Maximum number, GCD condition (ANUGCD)

Problem Link: https://www.codechef.com/MARCH14/problems/ANUGCD

My implementation: http://ideone.com/TXHpuW

Verdict: Wrong Answer

Anyone please help me out to find why did I get a WA. Thanks in advance.

Tags segment tree, codechef, gcd

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Tobby_And_Friends 2016-10-05 22:07:47 300 Initial revision (published)