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

Автор bansal1232, история, 10 лет назад, По-английски

What's the right approach of solving this Hackerearth Problem?

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

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

There's an editorial to this problem. If you're still confused after reading it, check Trick #4 here and modification of Sieve of Eratosthenes here.