Segment Tree problem from CODECHEF

Правка en1, от 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.

Теги segment tree, codechef, gcd

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Tobby_And_Friends 2016-10-05 22:07:47 300 Initial revision (published)