Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
299 B
0
Indexable
Never
#include <iostream>
#include <vector>
#include <algorithm>
#include <fstream>
using namespace std;
int main()
{
	ifstream in("input.txt");
	vector<string> sex;
	string a;
	while (in>>a) {
		sex.push_back(a);
	}
	sort(sex.begin(), sex.end());
	for (auto c : sex) cout << c << endl;
}