algorithm accumlate : adjacent_find binary_search copy string s1="hello hengliy"; string s2="welcome"; copy(s1.begin(),s1.end()-1,s2.begin()+6); cout<<s2; //welcomh reverse reverse(array.begin(),array.end()); 赞微海报分享
近期评论