[백준] 1062번 가르침 (= teaching) - 재우스 프로그래밍 (C 언어)
문제 링크 : www.acmicpc.net/problem/1062 #include #include #include //strlen #define DEBUG 0 #define MAX_WORD_COUNT 50 #define MAX_INPUT_WORD_SIZE 15 #define MAX_LETTER_COUNT 26 int N, K, result; int arrSelectLetterIdx; char arrWord[MAX_WORD_COUNT][MAX_INPUT_WORD_SIZE + 1]; //초기에 입력 받은 단어를 arrWord[0]부터 arrWord[N-1]까지 차례대로 저장할 배열 //단어는 15글자보다 작거나 같으므로 arrWord[i]의 size는 최대 16까지 필요함. char arrLetter[MAX..
2021. 1. 29. 11:22