All about problems in Volume 111. If there is a thread about your problem, please use it. If not, create one with its number in the subject.
Moderator: Board moderators
I think I wrote a correct code which solves the problem but I get TLE. Can someone explain more clearly the idea about compressing the hours into intervals? And when we compress them how are we going to extract the information in which hours every monkey is drinking?