백준: 알파벳 개수 #include #include #include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); char temp; string s; int num = 0; int arr[26] = { 0, };//각알파벳 개수를 저장하는 배열, 알파벳은 총 26개 cin >> s;//단어입력 for (int i = 0; i < s.length(); i++) { temp = s[i];//입력받은 단어에서 한글자씩 temp에 저장 for (char j = 'a'; j