added TopCoder Problem: SRM 582-1-1-SpaceWarDiv1