#include <iostream> #include <vector> #include <algorithm> using namespace std; // 构造布尔函数,判断word是否是x的兄弟单词 bool isBrotherWord(string word,string x){ if (word == x){ return false; } sort(x.begin(),x.end()); sort(word.begin(),word.end()); if (x == word){ ...