Time for your landlord to invest in an electrician to replace/repair the non-working outlets. Outlets that make poor connections are very dangerous, in higher current situations they will overheat and start a fire. They also will drop the available voltage to your components.
Your local housing inspector can also help if your landlord needs additional motivation. I'd also make sure the smoke detectors were functional.
Your local housing inspector can also help if your landlord needs additional motivation. I'd also make sure the smoke detectors were functional.