Byteland Fest
CodeChefOpen on judge ↗
Byteland is a 1D city located at the suburbs of Pune. And guess what! It's time for the Byteland Fest !! There are **N** counters set up and each counter serves a different kind of sweet. **Ci** - the counter serving the sweet **i**, is defined by two things: a starting point **si** and an ending point **ei** Counter **Ci** spans the region from **si** to **ei** (both inclusive) The fest will b
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