Translated by AI — Claude Opus 4.6, Mar 2026

Quiz_1

← Back to problem list

blx-quiz-1

Given a polyline and offset distances (in this case, {10, 5, -7, -10, -15}) as inputs, devise a method to generate a new polyline with each edge offset by the specified distance.

Find a way to generate a new polyline with each edge offset by different distances, with base polyline and offset distances(in this case, {10, 5, -7, -10, -15}) given as inputs.