Cleaning up mold can be a costly ordeal. Your best course of action is to hire a mold inspector to come in inspect the property and then issue a report and quote to clean up the home. A contractor will be your best option for a quote on how much it would cost to repair the flooring throughout the home. Since you have not made an offer to purchase the home as of yet you could always ask the listing agent if the seller has completed a mold inspection. Good luck.