Please note I'm not a teacher nor a native speaker;
Messed up and screwed up are synonyms and yes they mean the same in your examples .
There is a difference in the register. Screwed up is slang term whereas messed up is more neutral.
- For Teachers