TOM AND DESSERTS
CodeChefOpen on judge ↗
Tom is crazy about Desserts and loves to eat them. One day Tom visited an restaurant where he found 3 different types of desserts. Lets call them A,B and C. - ***A*** is an **UNTASTY** **DESSERT** which contains ingredient **$X$**. - ***B*** is an **TASTY DESSERT** which also contains ingredient **$X$**. - ***C*** is an **TASTY DESSERT** which contains ingredient **$Y$**. Eat
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