Sid and his Dream Home
CodeChefOpen on judge ↗
Problem statement : - UVCEian Sid loves to stay in an independent flat. For this his parents have asked him to do a survey and give them a list of cost of all the lands which his parents are interested in buying that have 50% discount. He has been told cost per square feet is Rs. 2. Since Sid is not very good at calculating the cost, he requires your help to give him the cost of land by just
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