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...

Submissions
Please login to view your submissions
Similar Problems
Points:20
480 votes
Tags:
Ad-HocApprovedEasyImplementationOpen
Points:30
31 votes
Tags:
AlgorithmsApprovedBit ManipulationDynamic ProgrammingMediumOpen
Points:20
20 votes
Tags:
ArraysBasic ProgrammingEasy
Editorial

Login to unlock the editorial