Aniruddha and HackerEarth
Practice
2 (7 votes)
Dynamic programming
Recursion
Algorithms
Easy
Mathematics
Open
Approved
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
21 votes
Tags:
Bit manipulationBasic ProgrammingApprovedEasyBit manipulation
Points:20
4 votes
Tags:
Special NumbersCountingImplementationMath BasicBasic ProgrammingBasic MathBasics of ImplementationSieveMath
Points:20
94 votes
Tags:
MathematicsOpenApprovedEasy
Editorial

Login to unlock the editorial