Pub Encounter (pickup)

133 teams scored 3440 points on this task, for a maximum score of 100, an average score of 26 and a median score of 20.

Highlights

  1. Pietro Paleocapa, Bergamo is the institute with the most points (140).
  2. Emilia-Romagna is the region with the most points (680).

Statement

Yesterday, Edoardo spent an amazing night at a bar. After a handful of drinks his charm was unleashed, and girls all around him were fighting for him (to the best of his memories of the night). One girl even wrote her number on his arm, for him to call her back! Unfortunately, after waking up the next day, Edoardo realised to his dismay that the number was all smeared around and intelligible. He only remembers few things he noticed about the number: (1) that it did not contain any zero as a digit, (2) that the number was a multiple of A, (3) that the sum of its digits was B, Now there is only one sensible option left: enumerate all such numbers and try to call all of them in order. Help Edoardo track the girl, by computing the K-th number satisfying the constraints above!