Пример программы, работающей с большими объёмами данных
The example of a program that works with large amounts of data
На вход поступают строки вида "1, 2, 3" (их количество может доходить до 12 миллионов), и ищутся группы этих строк (строки образуют группы, если у них есть одинаковые элементы на тех же позициях). Вся программа отрабатывает примерно за 10-30 секунд.
Input comes from lines of the form "1, 2, 3" (their number can reach 12 million), and the groups of these lines are searched (lines form groups if they have the same elements in the same positions). The whole program works for about 10-30 seconds.