Aniket in dillema
CodeChefOpen on judge ↗
Aniket has just won a contest and will recieve a prize worth w rupees. He wishes to buy three items he loves having cost x , y and z . If he can buy the three items he becomes Happy else he is Sad. Given w, x, y and z. Can you tell if he is Happy or Sad. Okay. Input First line contains 4 integers denoting w,x,y and z respectively. Output Print "Happy" if Aniket can buy the three items else pri
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