#include <iostream> #include <vector> #include <algorithm> using namespace std; void method(){ string s; while(getline(cin,s)){ vector<char> alp; for(int i=0;i<s.size();i++){ if(find(alp.begin(),alp.end(),s[i])==alp.end()){ ...