Max value temperature in delay 1 minute

I need to get the maximum temperature every minute of measurement that will be implemented in delay (200).

It is a fact that the thermometer will I measure every 200ms, and these need to write data obtained by minute maximum value from the measurements.

The next measurement will be performed again from scratch.

What will be the code?