首页 > TAG信息列表 > P1308

P1308 [NOIP2011 普及组] 统计单词数[普及-]

https://www.luogu.com.cn/problem/P1308涉及知识点:模拟,字符串橙色题 思路?在代码里 #include<bits/stdc++.h> using namespace std; string word,sen; int ans,j,ans1; int main() { getline(cin,word); //先输入两个字符串 getline(cin,sen); int lena=word.si