happy birthday apurv
CodeChefOpen on judge ↗
Problem Since today it's Apurv's Birthday. Apurv gave a bag of codes to Ramesh and Suresh(Ramesh and Suresh are brothers). Each code has some positive number of lines, and the brothers want to divide the codes between them. First, Ramesh will split the code into two part, and choose one to give to Suresh. Then Suresh will try to calculate the value of each part, where the value of a part is the s
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