Editorial for COCI '11 Contest 4 #2 Zima
Submitting an official solution before solving the problem yourself is a bannable offence.
First, we traverse the given day temperatures and locate the winter periods. Every winter period starts with a negative number, and lasts until a positive number is encountered.
If there is a winter period starting with day
Finally, we must choose one of the longest winter periods and allow it's announcing
Comments