Topcoder/SRM_620_DIV2/ 250, 500