Skip to content
Ta180m  /   Idiot-Code-Golf  /   Discussions #10  /  
  • Unwatch 1

    Notifications

    Get push notifications on iOS or Android.
  • Fork 0

Problem 9: Fast Exponentiation #10

Unanswered
Ta180m asked this question in Q&A
Problem 9: Fast Exponentiation #10
on Apr 28, 2021 · 1 answer

Many algorithms in a variety of fields such as cryptography require quick computations of powers. Your task is to implement this algorithm in the most idiotic way possible. It should preferably work fast, although this isn't necessarily a requirement.

Replies

1 suggested answer

Ta180m
on Apr 29, 2021
Maintainer Author

https://github.com/Ta180m/Idiot-Code-Golf/blob/main/fast-pow/pow.cpp

A very scary for loop.

0 replies
@Ta180m
Select a reply ctrl .
Remember, contributions to this repository should follow our GitHub Community Guidelines.
Category
Change category
Q&A
Labels
None yet
1 participant
  • Lock conversation

    Lock conversation on this discussion

    • Other users can’t add new comments to this discussion.
    • You and other collaborators with access to this repository can still leave comments that others can see.
    • You can always unlock this discussion again in the future.
  • Transfer discussion
  • Pin discussion

    Configure pinned discussion

    Up to 4 discussions can be pinned and they will appear publicly at the top of the discussions page.

  • Create issue from discussion
  • Delete discussion?

    The discussion will be deleted permanently. You will not be able to restore the discussion or its comments

Loading complete