#include <iostreamの> する#include <アルゴリズム> の#include <ストリング> の#include <ベクトル> int型のmain(){ のstd ::文字列str。 {(STD :: CIN >> STR)一方 のstd ::ベクトル<チャー> V_C。 v_c.clear(); {(STR CONSTオート&P)のための IF(見つける(v_c.begin()、v_c.end()、P)== v_c.end()){ v_c.push_back(P)。 } } (CONSTオート&P:V_C)用{ のstd :: COUT << P。 } のstd :: coutの<<はstd :: ENDL。 } 0を返します。 }