SRM 585 HARD EnclosingTriangles