摘要:
#include <iostream>#include <cstdio>#include <cmath>#include <cstring>#include <algorithm>#include <stack>#include <map>#include <set>#include <queue> 阅读全文
摘要:
#include <iostream>#include <cstdio>#include <cmath>#include <cstring>#include <algorithm>#include <stack>#include <map>#include <set>#include <queue> 阅读全文
摘要:
#include <iostream>#include <cstdio>#include <cmath>#include <cstring>#include <algorithm>#include <stack>#include <map>#include <set>#include <queue> 阅读全文
摘要:
#include <iostream>#include <cstdio>#include <cmath>#include <cstring>#include <algorithm>#include <stack>#include <map>#include <set>#include <queue> 阅读全文
摘要:
子串 str.substr(3); //返回 [3] 及以后的子串 str.substr(2, 4); //返回 str[2]~str[2+(4-1)] 子串(即从[2]开始4个字符组成的字符串) 替换 str.replace(2, 4, "sz");//返回把 [2]~[2+(4-1)] 的内容替 阅读全文