PROBLEM LINK:
Author: Harsh Shah
Tester: Aniket Marlapalle
Editorialist: Harsh Shah
DIFFICULTY:
CAKEWALK
PROBLEM:
Given four numbers, find if sum of three is greater than or equal to the fourth number.
EXPLANATION:
Aniket has won a prize worth w rupees. He is Happy is he is able to buy items worth x,y and z rupees. Hence if w>=x+y+z print Happy else print Sad.
AUTHOR’S AND TESTER’S SOLUTIONS:
Author’s solution can be found here