Power Failure
Practice
3.8 (17 votes)
Combinatorics
Dynamic programming
Easy
Math
Number theory
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...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:20
231 votes
Tags:
Easy
Points:20
6 votes
Tags:
Basic ProgrammingBasics of ImplementationEasyImplementationMath
Points:20
105 votes
Tags:
Basic ProgrammingMathNumber Theory
Editorial

Login to unlock the editorial