Concatenation of files
Given two files:
names.txt
which contains the first names of the customers,surnames.txt
which contains the surnames of those people in the same order,
You are asked to merge those files and create a new one named fullnames.txt
which would contain the names and the surnames separated by a space. It’s guaranteed that the names.txt
and the surnames.txt
contain the same number of lines.
names.txt | surnames.txt | fullnames.txt |
---|---|---|
Arthur Anna | Brown Black | Arthur Brown Anna Black |
Constraints
Time limit: 2 seconds
Memory limit: 512 MB
Output limit: 1 MB