Gods & Monsters
Practice
4.1 (14 votes)
Modular arithmetic
Hard
Approved
Modular exponentiation
Mathematics
Number theory
Matrix exponentiation
Code Editor

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...

Submissions
Please login to view your submissions
Similar Problems
Points:20
65 votes
Tags:
Ad-HocAlgorithmsApprovedEasyOpen
Points:20
46 votes
Tags:
Ad-HocApprovedBasic ProgrammingEasyOpen
Points:20
961 votes
Tags:
Dynamic ProgrammingOpenApprovedEasyProbability and Statistics
Editorial

Login to unlock the editorial