Oleksiy wrote several distinct positive integers on the board and calculated all their pairwise sums. It turned out that all digits from $0$ to $9$ appear among the last digits of these sums. What could be the smallest number of integers that Oleksiy wrote? Proposed by Oleksiy Masalitin
Problem
Source: Ukrainian Mathematical Olympiad 2024. Day 1, Problem 8.1, 9.1
Tags: number theory, Digits