Night_Lord's blog

By Night_Lord, history, 4 years ago, In English

Hi coders,getting wa in this problem.My submission is here .Any idea?

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

| Write comment?
»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Does anybody who seeking help get downvote ?

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    If you can answer yourself by googling, you are likely to get downvoted.

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

CSES submissions are private. I can't view your link. Did you use Fermat's theorem? Take help from here.

  • »
    »
    4 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Thanks

    • »
      »
      »
      4 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      I just want to mention that there’s a “share code to others” link on the cses submission page. You can use that to share you’re code but we won’t be able to see what test cases you passed or failed.