highighiq's blog

By highighiq, 3 years ago, In English

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

Full text and comments »

  • Vote: I like it
  • +27
  • Vote: I do not like it

By highighiq, history, 3 years ago, In English

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)

Full text and comments »

  • Vote: I like it
  • -16
  • Vote: I do not like it