2021年8月27日
摘要: 1 #include <iostream> 2 #include <vector> 3 #include <string> 4 using namespace std; 5 6 int main(int argc, char** argv) { 7 string t, a, b; 8 cin >> 阅读全文
posted @ 2021-08-27 10:25 KamenRider101 阅读(182) 评论(0) 推荐(0)
  2021年7月24日
摘要: 自定义 split 函数 1 void split(const string& s, vector<string>& tokens, const string& delimiters = " ") 2 { 3 string::size_type lastPos = s.find_first_not_ 阅读全文
posted @ 2021-07-24 23:26 KamenRider101 阅读(2022) 评论(0) 推荐(0)