Team Rocket
CodeChefOpen on judge ↗
Team Rocket is back with a challenge for Ash. They promise to set Pikachu free if he is able to solve the problem There is a 2d plane which contains zero at every point. Ash will be given $N$ operations Where each operation contains three space seperated integers $X$ $Y$ $V$ which means - Add $V$ coins at position $(X,Y)$ - And after that print the golden value of the position $(X,Y)$
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