Here is an example.
Let change a little bit the initial deffinition of

.
Set

for an irrational

and

for

rational.
Denote

, where

is a prime.
Notice that

.
Now we will slightly change

over

. We write down only cases where

differ from its initial value.

;

.
After

is changed, it is clear that the new

is a bijection, not continious at any point, while

is continious at
