If your roommate smokes and it bothers you, here are some solutions.
First, have an open and honest conversation. Let your roommate know that the smoke is making you uncomfortable and affecting your health. You can mention the unpleasant smell and potential harm from second - hand smoke.
Suggest alternative places for them to smoke. Maybe they can go outside the dormitory building or to a designated smoking area.
If the problem persists, you can involve the dormitory supervisor or housing management. They can help set rules about smoking in the dormitory environment and ensure your roommate follows them. You could also consider using air purifiers in your shared room to reduce the impact of cigarette smoke to some extent.