Hi, that's actually what I got, but I'm pretty sure I got it the wrong way. I don't remember exactly what I did (the exam wasn't returned to us), but my method involved the Maximum Modulus Principle (sort of like applying Liouville's on open balls).
How exactly is that a consequence of Liouville's theorem?
I can see that for the case of g being constant, then f should be constant, so g will be a multiple of f. What about for when g is non-constant?
From what I can recall, what I think I did was I said that in an open ball, f and g attain their maximum modulus on the boundary and the modulus of g will be greater than that of f at that point in the boundary. This will happen for any open balls. So, if we consider two balls with the same center, and let the radius of one approach the other, and see what happens to the modulus of f and g at that boundary, it should turn out that g is a multiple of f. Is this sort of right?