>Is it worth studying math/cs at a non top 100 university?
No, uni costs 30k, because you go to make connections, either with people with links in the business world or in academia / research.
at a non-top 10... the connections you make are worth jack shit.
get self taught, you can teach yourself in a month what you would be put through at uni in the first year anyway.
then choose the cheapest online course you can get on, to get a certification.
you saved 100k, and have the knowledge to do something useful off your own back, which is what you will have to do, if you've fucked up so far.