Help to Be Happy

A country named Mueawin has one or more villages and one or more people live in every village. Two people live in the same village if they are connected i.e. if it is possible to go from one’s home to others. In this country, a man called happy if he/she has h or more units of money. EID is coming soon so everyone wants to be happy on EID-Day. If a man has x units of money, then he can give at most 10% of (x - h) units of money to his villagers only if x > h. Note: a man can give money to others if they live in the same village. By sharing money, is it possible to make happy all of a village ? A village is called happy if all of its villagers are happy otherwise the village is not happy.


This is a companion discussion topic for the original entry at https://toph.co/p/help-to-be-happy