Input (grade 13): Exponentiating by squaring is an algorithm used for the fast computation of large integer powers of a number.
Output (grade 8): Exponentiating by squaring is an algorithm. It is used for quickly working out large integer powers of a number.