Programming contests

20 Programming Exercise for Beginners

January 1, 2019 12:00 AM – December 31, 2019 12:00 AM

Linux TR command

On Unix-like operating systems, the tr command is used to translate and/or delete characters from standard input.

Input Specification

The input is an ASCII text without any restrictions.

Sample Input

1234567890 and 987654321.

  1. 1234567890abc
download as text file

Output Specification

Output for Sample Input

  1. 987654321abc
download as text file

Hints and Guide

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. 03/01/2019