The question is from the definition of to topological group. I can find an example such that the inversion map is continuous but the group operation is not continuous, but I cannot find an example such that the group operation is continuous but the inversion map is not continuous.
I guess that such a space (if exists) is not T3, but I just know some easy examples of Hausdorff but not T3 spaces.