string s;
cin>>s;
if(s.find("123")!=s.npos);
npos在 c++中表示一个常数,表示不存在的位置,类型一般是std::container_type::size_type。其值一般为-1.