阅读背景:

string那些事之replace

来源:互联网 
/*
用法一:
用s替换指定字符串从起始位置pos开始 长度未为len的字符串
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const double eps = 1e-7;
const int maxn = 5e5 + 5;
const double pi = acos(-1.0);

int main()
{
    string s="this /*
用法一:
用s替换指定字符串从起始位置pos开始 长度未为len的字符串
*/
#incl



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: