GEETs ROKA CEREMONY
CodeChefOpen on judge ↗
Now as you know geet is all set for starting a new chapter in life, today is the day of Roka ceremony. Roka is a Punjabi custom wherein the guests gift the bride/groom some gold sikkas (coins) as aherr. There are $N$ guests at the roka, each guest is giving some sikkas whose value ranges between $L$ to $R$ (inclusive). Ex. $L$ = $17$ and $R$ = $20$ then the guest has given sikkas whose values are
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