Untitled

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