K12教育赛事综合服务平台
聚乐之家官方网站
下载聚乐之家官方App
专注青少年竞赛题库网站
#include <iostream> #include <string> using namespace std; int main() { string s1 = "hello"; string s2 = "world"; s1.append(s2, 1, 3); s2 = s1.substr(2, 5); cout << s2.size() + s2.find("or") << endl; return 0; }
8
7
6
5