You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val pts = "-557.-557, 617.-557, -558.-999, -107.-965, -1000.-483, -557.-1000, -557.-558".split(", ").map {
val (first, second) = it.split(".")
HexPoint(first.toInt(), second.toInt())
}.toTypedArray()
Model solution gives a hexagon with radius 1030. But in fact there is possible to build a hexagon with radius 809 and center (-556.-192), that will satisfy the task condition.
More examples:
[-741.-558, 465.-329, 520.-1000, 347.-1000, -433.-557, -668.-558, 20.-57, -558.591, -74.-558, -999.-557, 455.-286, -558.-1000, -81.-557, -595.-557, -557.-153, -557.523]
Best solution r=890, model solution r=925
[-557.-557, -266.-1000, -518.-1000, -999.-999, -999.-325, -1000.582]
Best solution r=791, model solution r=916
The text was updated successfully, but these errors were encountered:
Some test cases:
Model solution gives a hexagon with radius 1030. But in fact there is possible to build a hexagon with radius 809 and center (-556.-192), that will satisfy the task condition.
More examples:
The text was updated successfully, but these errors were encountered: