daniel0402's blog

By daniel0402, history, 7 weeks 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)

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

»
7 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

So u made the blog to fool people?

  • »
    »
    7 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    So, I mean "Yes"?That's a another solution.

    • »
      »
      »
      7 weeks ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      Here are few tips which you may consider when writting future blogs --

      • Give few hints before moving to the intuition part/coding part .

      • After that explain your thought process .

      • And at last share a clean code .

      The tips are inspired from last contest's[round-696-div2] editorial . And IMO it's very much helpful especially for beginners as it allows us to solve the problem using hints only .

      All the very best for your future blogs .

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

T just means that I have an easy solution than Editorial.