After a flood, food safety specialists at the United States Department of Agriculture have this advice:
Throw away anything that is not stored in a waterproof container if there was a chance of contact. Food containers that are not waterproof include those with screw caps, snap lids, pull tops and crimped caps.
Also, throw away boxes of juice, milk or baby formula if they have come into contact with floodwater.