Problem related disjoint set and GCD.

Правка en2, от _Halim_, 2018-02-12 08:57:04

I was trying to solve this problem from Egyptian ECPC but I couldn't. Can anyone give me a hint ?

someone who already solved said that he use disjoint set but I can't deal with it using disjoint set .

Теги union-find, disjoint-set, gcd

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский _Halim_ 2018-04-13 05:21:39 25
en3 Английский _Halim_ 2018-02-12 08:58:06 0 (published)
en2 Английский _Halim_ 2018-02-12 08:57:04 59
en1 Английский _Halim_ 2018-02-12 08:55:17 260 Initial revision (saved to drafts)