Algorithms and time: examples