1157번 - 단어 공부 문자열 입력받기 문자열의 길이만큼 동적 배열 할당받기(알파벳 개수를 체크하기 위함) 이중 for문을 통해 입력된 알파벳의 중복 개수 확인하기, 대문자로 비교하기 위해 toupper사용 for문을 통해 가장 많이 사용된 알파벳 찾기 if문을 통해 가장 많이 사용된 알파벳이 하나일 경우와 여러 개일 경우를 구분 delete 하기 #include #include #include //toupper사용을 위해 using namespace std; int main() { string str, re; //입력 문자열, 출력 문자열 cin >> str; int cnt = 0, max = 0, max_cnt = 0; int n = str.length(); int* str_cnt = new int..