Night_Lord's blog

By Night_Lord, history, 5 weeks 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

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

Does anybody who seeking help get downvote ?

  • »
    »
    5 weeks 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.

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

      Ya,then I thought let's ruin some time of some genious of this planet

»
5 weeks 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.

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

    Thanks

    • »
      »
      »
      5 weeks 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.