← All problemsSign in

B - Decrease Sections

Academic Semester-II just started at iitgn after a vacation. Andrew sir is teaching Introduction to social media marketing this semester. Initially, he divided students into 3 sections. There were $a,b,c$ students in section 1,2,3 respectively. After some days, he realized that only 2 sections was needed in the course, so now he wants to split a section having students $s$ into two parts $x$($0 \l

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start