No. Uniformly continuous functions takes $O(N)$ distinct values on the $N\times N$ grid.
Fedor Petrov
- 108.9k
- 9
- 264
- 459