#include #include using namespace std; int main() { int repeat = 0; int repeatingword=0; char word[105]; bool issame; cin >> repeat; repeatingword = repeat; while (repeat > 0) { cin >> word; for (int i = 0; i < strlen(word); i++) { issame = false; for (int j = i+2; j < strlen(word); j++) { if (word[i] == word[j] && word[i] != word[j - 1]) { issame = true; } } if (issame == true) break; } if (iss..