visited

Parameters

visited

the set of previously visited points (each in the problem's input order); the center itself, if present, contributes no constraint and is ignored