Three killed, two injured in city violence