I’m unable to get the question as in what it wants??..unable to understand it Here’s the link - HOTEL Problem - CodeChef
check the editorial here is the link HOTEL - Editorial - editorial - CodeChef Discuss