Extract the carpet, rent a rug doctor. Roll it back and trash the pad. Put carpet fans under the carpet so it billows. This will also dry the cement. Rent at least 2 dehumidifiers. Any walls that are completely soaked cut a hole in them low and high and put a carpet fan on the lower hole. Turn the heat up and run your a/c. If you can't do both at once cycle back and forth. If you have vinyl just strip it out, ceramic should be ok.

You can check sheet rock with a moisture sensor which is actually a continuity tester so if you have that setting on a multimeter you can skip buying it.

You have 72 hours from first water before mold sets in to get it completely dry. Don't skip steps, if it seems daunting claim insurance and get a restoration company in today before they get busy