Password
Practice
3.7 (92 votes)
Ad Hoc
Approved
Brute Force search
Data structures
Easy
Open
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:50
4 votes
Tags:
AlgorithmsApprovedBit ManipulationFenwick treeHardOpenTrees
Points:20
45 votes
Tags:
Ad-HocApprovedEasyImplementationOpen
Points:20
45 votes
Tags:
Ad-HocApprovedEasyOpen
Editorial

Login to unlock the editorial