Ticket wala
CodeChefOpen on judge ↗
Chef and Cheffa tickets seller for a theatre. At the end of the month they calculate total revenue generated by tickets sold by them. But this time they forgot to keep records of the ticket prices. Chef had kept those tickets safe with him, but they are arranged randomly. Both of them decide to share the amount of work by deciding following things: - Chef will calculate the sum of the tick
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