K.S.
Hi!
Might I suggest tearing the carpet up and sealing the floor with KILZ? It is a paint like substance that you put over the wood or cement (whatever the floor is made of). Then put down new carpeting (you can get remnant pieces at Lowe's or Home Depot very reasonably). maybe you can get the landlord to take the amount of materials off the rent.
Good luck!
K.