재귀, 백트래킹, 조합, 을 통해 풀이했다. #include #include #include using namespace std;int L, C;int vowel = 0;int consonant = 0;vector s;char ans[15];void recur(int depth, int next){ if (depth == L) { vowel = 0; consonant = 0; for (int i = 0; i > L >> C; char input; for (int i = 0; i > input; s.push_back(input); } sort(s.begin(), s.end()); recur(0,0); ..