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

Автор Radiohead___, история, 9 часов назад, По-английски

hi everyone, I hope all of you doing well, I need help with this problem with proof for the solution to understand all the details plz . I was trying to play with the binary representation of the numbers because of the very large constrains of ai but i didn't reach for any valid solution. https://codeforces.me/edu/course/2/lesson/9/2/practice/contest/307093/problem/G

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

»
9 часов назад, # |
Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится

.

»
66 минут назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

if the gcd of the whole array is not 1 there is no sol so can you use that to your advantage

  • »
    »
    66 минут назад, # ^ |
    Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

    i thought id give you a hint instead of the full sol if you want it reply to this message