A state of emergency was declared in the town of Pirot, with authorities telling residents not to leave their homes. Dozens of people were hospitalized, Serbian state media reported.