Need Help

Правка en2, от Alpha_Go, 2016-10-08 13:33:59

Can anyone help me understand the logic behind this question Coprime Conundrum Question Link

I have understood the question but am finding it difficult to understand the editorial.

The problem setters code looks simple. But I still dont get it what is happening.

Problem Setters Code

Теги inclusion-exclusion, coprime, seive

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Alpha_Go 2016-10-08 13:33:59 10 Tiny change: 'd-coprimes/editorial)\n\nI hav' -> 'd-coprimes)\n\nI hav'
en1 Английский Alpha_Go 2016-10-08 13:33:09 422 Initial revision (published)