I am looking at going on a cruise in Asia that will stop in Hong Kong, Beijing and Shanghai (among others). I am Norwegian and need a visa to visit China. From what I understand I can visit Hong Kong visa free, but need a double entry visa to visit both Beijing and Shanghai (since I will be travelling between the destinations by ship). In addition, the stop in Beijing will be for three days. The first time I arrive in Beijing I would obviously have to go through immigration, but since I will be spending the nights onboard the ship, would each day in Beijing count as a separate entry to China? If so, I would need four entries to China or would they allow re-entries on the second and third day in Beijing without counting this as a re-entry?
Also, if this information matters: I will arrive in Hong Kong and Shanghai will be the final destination. Ideally I would spend a few days here before returning home.