Archive for September 2006
I’d like to present a little programming exercise.
The input is a set of files containing a list of floating point numbers. One in each line. A file has 1581=31*51 lines. These values are infos about wet in a specified month. -999.9 means absence of data (e.g. in september the 31th day isn’t exists). The files represent an intervall in time. 51=48+3, a measurement in each half hour and the maximum, minimum and mean of the values for the day. A predicate is: is there any wet a given day at 10am from the previous day 10am. We need the dates where this predicate fails. The first measurement is at 0:30.
(The shorter is better.)