Cories don't subsist on algae alone. They actually make pretty poor algae eaters if your tank were covered in algae. They are omnivores and will eat any left over food on the bottom. Sometimes they'll even suck a baby snail out of its shell. They are always hungry too, depending on the idea that there will always be food to graze on.