Celebrando Tamboree
CodeChefOpen on judge ↗
The Programming Club of TDTM is all set to host its first ever Annual Programming Contest “Tamboree” which will contain n problems in total with an uneven distribution of points to each problem . In order to solve the i th problem one needs to solve the (i-1) th problem. You’re asked $M$ queries Each query contains a number $P$ and you have to return the minimum number of problems one needs
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