Блог пользователя GOJO_GOKU_KURAMA

Автор GOJO_GOKU_KURAMA, история, 3 года назад, По-английски

https://codeforces.me/contest/1945/problem/H

Hey cfers hope all are doing well can anyone please tell me how to solve this please do share your code and logic thanks.

  • Проголосовать: нравится
  • +8
  • Проголосовать: не нравится

»
3 года назад, скрыть # |
← Rev. 2  
Проголосовать: нравится +1 Проголосовать: не нравится

Hints for reaching the solution

1945H - GCD is Greater

Solution
Implementation details

I was in a hurry during the contest, so my implementation was not much neat, here is it anyway 252257639.

This was all but, if somebody have any questions, I will be happy to answer.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

I've added hints for H : GCD is Greater on CF Step