You’re probably fucked.
Put them on, see if they shrank and how bad the damage is. You probably could’ve been OK, maybe, with the wash. But the dryer is going to be the real dragonslayer.
There’s a good chance that the material might’ve been warped beyond anyone’s ability to repair the damage. Frankly, any money you might pay to repair them at this point might not be worth it.
And, for real, how does this sort of thing happen? When you’ve taken off your pants, hang them up on a hangar so the creases fall out and they air out, too. Don’t put them in a hamper or on the floor. In fact, you might want to make this standard practice for all your fancy clothing.
Sorry to chastise, but this reminds me of when a friend of mine put his roommate’s cast-iron skillet in the dishwasher. I hate to see nice things get ruined.