Satya and her game
CodeChefOpen on judge ↗
Satya is a student of a popular college named VESIT. She loves to make games in her free time, and hence she made a game in her mini project too. The Game consists of a N columns and each column consists of many cubes and the number of cubes in each column is represented by Array C, where Ci is the number of cubes in the ith column. The Game has a magnet button in it and when it is pressed, the c
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start