Skip to content

Added practice problems for binary exponentiation #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 4, 2016

Conversation

vatsalsharma376
Copy link
Contributor

Here are some practice problems from the Uva OJ. They may also use Modular Arithmetic!

Here are some practice problems from the Uva OJ. They may also use Modular Arithmetic!
@vatsalsharma376 vatsalsharma376 changed the title Some practice problems Added practice problems for binary exponentiation Oct 2, 2016
@@ -67,4 +67,6 @@ $a^{b} = (a^{b/2})^2 \quad$ for even `b`,
$a^{b} = (a^{(b-1)/2})^2 \cdot a \quad$ for odd `b`,
$a^{1} = a$.


Practice problems from UVA OJ:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use the same format for this section as in https://github.com/e-maxx-eng/e-maxx-eng/blob/master/src/data_structures/fenwick.md :

  • title "Practice Problems"
  • unordered list of problems
  • each problem title is a link to a page of this problem on an OJ

Please also apply this format to the other pull requests.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the information! Please see if anything is amiss.

Corrected the format as required
@tcNickolas tcNickolas merged commit b8c700f into cp-algorithms:master Oct 4, 2016
anthony-huang added a commit to anthony-huang/e-maxx-eng that referenced this pull request Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants