摘要: https://blog.csdn.net/ch_vaniteux/article/details/79247061 string str(tobeornottobe); string ptr; ptr = str.substr(4, 5); cout << ptr; 输出的结果是ornot 可以说 阅读全文
posted @ 2019-05-16 16:13 Fzzf1 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/Com_ice/article/details/78595358 1.反转函数 reverse()用于反转函数的所有参数 3.reverse(a,a+n); //a表示数组名 n数组长度 输入:HELLO 输出 :OLLEH 阅读全文
posted @ 2019-05-16 16:11 Fzzf1 阅读(1960) 评论(0) 推荐(2) 编辑
摘要: https://vjudge.net/contest/301853#problem/A 阅读全文
posted @ 2019-05-16 15:43 Fzzf1 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 typedef long long ll; 8 char aa[100010]; 9 char bb[100010]; 10 int a[1000010], b[100010]; 11 int c[10000010]; ... 阅读全文
posted @ 2019-05-16 15:41 Fzzf1 阅读(128) 评论(0) 推荐(0) 编辑