Legality is the lowest of bars. We should aim higher. I'm pretty sure that the listed sites should strongly prefer *not* to have solutions available like this. The more I think about this, the more I'm tending to say: don't do this. It may feel like charity, but the authors of the problem sets will not look at this kindly.