archive/rosettacode/triangle: Update imports.