What type of pool do you have, inground, above ground ?
I don't know how long algae can survive out of water. Regardless your going to have clean the pool with a water,bleach solution.
Somebody else may have a better answer for ya.
If you put all your pool info in your sig, it will help us help you better.