📅  最后修改于: 2022-03-11 14:56:37.403000             🧑  作者: Mango
for(i=0;i<=lenString;i++)
{
if(string[i] == string[i+1])
{
if((password[i] != '\0') && (password[i+1] != '\0'))
{
countRepeated++;
}
}