Balls
Practice
3.5 (76 votes)
Easy
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
3 votes
Tags:
Basics of CombinatoricsModular arithmeticMatrixCombinatoricsMathematicsMathNumber theory
Points:50
Tags:
One-dimensionalArraysImplementationHardData StructuresGreedy algorithm
Points:50
12 votes
Tags:
Advanced Data StructuresData StructuresSegment Trees
Editorial

Login to unlock the editorial