This is your repository for Cities task solution.
Available cities are present in input.txt
. Results should be written into output.txt
file.
All the code for reading/writing files is already present, so you can focus on solving the task.
Place your code in combine_cities
method of main.cpp
file:
vector<string> combine_cities(vector<string> available_cities) {
// TODO replace with your solution!
return vector<string>();
}
Run main
method in main.cpp
file and verify that output.txt
file is updated:
Detailed description of the task is here
Happy coding! ๐