Carlo's Library (indexing)

178 teams scored 8060 points on this task, for a maximum score of 100, an average score of 45 and a median score of 30.

Highlights

  1. Pascal - Comandini, Cesena is the institute with the most points (335).
  2. Lombardia is the region with the most points (1680).

Statement

Carlo loves organizing his library and has arranged all books in lexicographical order. To enhance their appearance, he wants to insert a new book between two existing titles. The two titles, A and B, are given as strings containing only lowercase letters of the English alphabet. Your task is to help Carlo find a title C, also consisting of only lowercase letters of the English alphabet for the new book such that: (1) C is lexicographically strictly between A and B. (2) The length of C is minimized.