Hand Shakes
CodeChefOpen on judge ↗
You have recently joined the college and today is the first day of your college. When you reached the College, you noticed your batchmates are gathered in different groups and you want to meet and handshake with each of them. As you have a shortage of time, you can meet with only 5 groups. Each group consists of $N_i$ batchmates, where $i$ represents the serial number of groups. You are given t
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