From how I understood the question and judging from solutions I've been provided with (see graph below),
$f(x)$ starts from an x-position, which should be an integer, and assuming this goes on for all integers until infinity.
I also assume the graph follows the function $f(x)=x$, whereby $0\le y \le 0.5$ to make sure the function returns to the nearest integer.
If not, can $f(x)$ be equal to any function as long as it occupies the distance from $x$ to the next integer? For example, $f(x)=2x$ whereby $0\le y \le 1$
And can we say the critical points are all integers? Or maybe I did not understand the question well.

