← All problemsSign in

Sweta-The Clever Girl

Sweta loves playing. She even has a special set of cards to play with. Each card has a single integer. The number on the card can be positive, negative and can even be equal to zero. Today, she is playing a game in which she needs to distribute the $3$ cards to each member playing the game. In this game, the player whose sum of integers in the cards has a maximum absolute difference with 0 wins th

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