摘要: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word 阅读全文
posted @ 2019-01-03 20:15 乐乐章 阅读(118) 评论(0) 推荐(0) 编辑
摘要: #include #include std::vector s_split(const std::string& in, const std::string& delim) { std::regex re{ delim }; // 调用 std::vector::vector (InputIterator first, InputIterator last,const all... 阅读全文
posted @ 2019-01-03 20:04 乐乐章 阅读(3718) 评论(0) 推荐(0) 编辑