char使用gets(char) string使用str.getline() #include<bits/stdc++.h> using namespace std; int main(){ char alph[26],ALPH; string p1,p2,p3,p4,text; int i,j,pos,count[26],maxtimes; i=0; for(ALPH='A';ALPH<=