Need help with AtCoder Beginner Contest 186 Problem E

Правка en2, от parimal7, 2020-12-24 08:08:03

I tried reading the editorial but cannot understand the solution to this problem

The main point which I cannot understand is why should S % gcd(N,K) be equal to 0?

Теги #atcoder

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский parimal7 2020-12-24 08:08:03 16 Tiny change: 'erstand this [pro' -> 'erstand the solution to this [pro'
en1 Английский parimal7 2020-12-24 08:07:32 257 Initial revision (published)