Fair Distribution——The 18th Zhejiang Provincial Collegiate Programming Contest
F.FairDistributiontimelimitpertest1secondmemorylimitpertest512megabytesinputstandardinputoutputstandardoutputTherearenrobotsandmenergybarsintheDreamKingdom.DreamGrid,theking,istryingtomakeafairdistrib