|
|||
Linux UNIQ commandOn Unix-like operating systems, the Input SpecificationFor the sake of simplicity, we suppose that each line consists of at most 2k characters. The number of input lines is not restricted. Sample Input
Output SpecificationThe output contains the input lines but only once if they are repeated. Output for Sample Input
Hints and GuideBecause the length of the input lines are limited, we can easily solve the exercise line by line, reading an input line, for example with the help of the One possible solution is available in: main.c.
Acknowledgement
This work was supported by the construction EFOP-3.4.3-16-2016-00021. The project was supported by the European Union, co-financed by the European Social Fund.
|
|||
University of Debrecen; Faculty of Informatics; v. 09/30/2024 |