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

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

As you know, atcoder's beginner contest has always 6 problems. Why it has 8 problems now?

And Is this problem(abc213f) for beginners? It's so difficult I think.

Sorry for my poor English

Полный текст и комментарии »

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

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

1474B

My solusion is to get all prime numbers. To do a question, we need to find Answer1 equals the minimum prime number that is at least d from 1 and Answer2 equals the minimum prime number that is at least d from Answer1

So, print (Answer1 * Answer2)

Code:104907961

(Sorry for my poor English :P)

Полный текст и комментарии »

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