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
12 votes
Tags:
ApprovedBasic ProgrammingBrute-force searchEasyOpen
Points:20
32 votes
Tags:
ApprovedBasic ProgrammingEasyOpen
Points:20
8 votes
Tags:
Basic ProgrammingEasySorting
Editorial

Login to unlock the editorial