The riddle is impossible, junglebeast is correct.
The riddle states that every hour must have a value,
This doesn't mean each period of time ending in 00 has a value.
That means every 60 minute interval must have a value.
there are only 5 hours in 5 hours (obviously) thus you must have 5...