Skip to content

I think this is more correct solution for gig pots 12th July 2023 solution #6

Closed Answered by getlost01
jatinavi asked this question in Solution Ideas
Discussion options

You must be logged in to vote

Ya, thanks for pointing these issues.

  1. Regarding the comment long long res = 1; // Use long long to avoid overflow, it is indeed a mistake that I acknowledge.
  2. However, during code submission, # define mod 1000000007 this modulus value is already defined by default in the driver code, that why I didn't redefine it. But now I think they might changed the driver code.

Just so you know, I only upload my solution after successfully passing all the test cases with the code.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by getlost01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants