Women in Engg
CodeChefOpen on judge ↗
The Women in Engineering (WIE) affinity group of IEEE DTU are organizing Vihaan. The chief organisers Arushi, Ashna, Sugandha, Deepanshi and Lokeshwar of Vihaan decide to unwind after a grueling session of working. They decide to play a game of cards, and agree that the loser will treat the others at a cafe. Worried about losing the game, Arushi needs help to calculate the probability of winning.
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