Concatenation of files
Given two files:
names.txtwhich contains the first names of the customers,surnames.txtwhich 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 | Brown | Arthur Brown |
Constraints
Time limit: 2 seconds
Memory limit: 512 MB
Output limit: 1 MB